Basic Php

Basic Php

Using PHP for Web applicationsIn the beginning, Web pages were static – they just presented documents.Users went to Web sites to read information. Documents were linked togetherso that users could easily find the information they sought, but the Web pagesdidn’t change. Every user who arrived at a Web page saw the same thing.Soon Web page developers wanted to do more. They wanted to interact withvisitors, collect information from users, and provide Web pages that werecustomized for individuals. Several languages have developed that can beused to make Web sites dynamic. PHP is one of the most successful of theselanguages, evolving quickly to become more and more useful and rapidlygrowing in popularity.PHP is a server-side scripting language, which means that the scripts are executedon the  server (the computer where the Web site is located). This is different

Because PHP scripts execute on the server, PHP can dynamically create the HTML code that generates the Web page, which allows individual users to see customized Web pages. Web page visitors see the output from scripts, but not the scripts themselves. PHP has many features designed specifically for use in Web sites, including the following: Interact with HTML forms: PHP can display an HTML form and process the information that the user types in. Communicate with databases: PHP can interact with databases to store information from the user or retrieve information that is displayed to the user. Generate secure Web pages: PHP allows the developer to create secure Web pages that require users to enter a valid username and password before seeing the Web page content. PHP features make these and many other Web page tasks easy. PHP is only server-side, meaning it can’t interact directly with the user’s computer. That means PHP can’t initiate actions based on the status of the user’s computer, such as mouse actions or screen size. Therefore, PHP alone can’t produce some popular effects, such as navigation menus that drop down or change color. On the other hand, JavaScript, a client-side scripting language.

 

Watch the video related to Php Scripts

Help answer the question about Php Scripts

Know of any good PHP scripts for extracting keywords from a web page?
I have a web development project I'm working on that this will help with.

About Author

Website Developing and Designing. Movie / Video maker and editor.

19 Responses to “Basic Php”

  1. champ0y says:

    You’re really good man. You’ve got excellent talent.

  2. monkeymanbob says:

    Nice work, you did pretty good.

  3. lidiabarbarita says:

    Very nice!!

  4. Teegz-iz-spunky says:

    That is lot of work , you may contact a PHP developer live below.

  5. cesar M says:

    When i was first learning PHP i found it helpful to help others. I joined http://devnetwork.net which is a great php developers network. Scanning the forums and helping other with little things helped me reinforce what i had already known, as well as learning a few things here and there

  6. warah110 says:

    Perfect.

  7. superchode20164 says:

    amazing! Willy teach me how to paint like you!

  8. Faithless863 says:

    hm i couldn’t tell the difference between photograph and painting comparing the final resault.

    This is sick

  9. Jay S says:

    in four easy steps:
    http://www.apachefriends.org/en/xampp-macosx.html

  10. michael s says:

    To use PHP, you just need a text editor to create the code. It's nicer to have a program like dreamweaver that indents and color codes things for you for readability. After you write the code, you need a PHP enabled web server to store the file. The most popular is Apache. Apache doesn't come PHP enabled. You have to go into the config file and set it up. I forget the specifics but you can look up how to do that on Google.

    Then when someone goes to your web page, Apache responds to the request, brings up your code and converts it to HTML and viola!

  11. avb17018411 says:

    woww that’s really relax and beatiful soung .good picture of jhony depp !

  12. Puma™ says:

    Very simple and straight forward tutorial is here:
    http://www.tizag.com/phpT/index.php

  13. Austin B says:

    This part is the problem:
    <?php
    if ($_GET['multiply']){$tnumber1=$_GET[ 'fnumber1'] * $_GET[ 'snumber1'];echo "The answer is " . $tnumber1 . ".";}
    if ($_GET['divide']){$tnumber1=$_GET[ 'fnumber1'] / $_GET[ 'snumber1'];echo "The answer is " . $tnumber1 . ".";}
    if ($_GET['add']){$tnumber1=$_GET[ 'fnumber1'] + $_GET[ 'snumber1'];echo "The answer is " . $tnumber1 . ".";}
    if ($_GET['subtract']){$tnumber1=$_GET[ 'fnumber1'] – $_GET[ 'snumber1'];echo "The answer is " . $tnumber1 . ".";}
    ?>
    You should declare the GET or POST inside a variable rather than directly doing a GET * GET.
    I'll post the correction on that site.
    Good Luck!
    If you need further assistance, feel free to contact me. My main skill is PHP.

    EDIT** Here is the code: http://austinyb.pastebay.com/55783

  14. Forbidia says:

    Brilliant Willy, Just Brilliant =D

  15. TheTroubadourMusic says:

    :O

    :O

    :O

    how is this not a real photo?

  16. superkuton says:

    vb is a microsoft language for windows based programming useful for desktop applications.

    php is a scriptling language used for web based applications. It works on Linux and Windows both.

    in simple php is for web and vb is for windows. Both have good interface with databases. i.e. vb goes well with SQL Server and PHP with mySQL server.

    Regards
    Shishir Gupta
    http://www.salahsoftware.com

  17. silentriver29 says:

    Really they are for completely different things.

    PHP is more designed for web development, but it is easier to port between systems, since it is interpereted. PHP also has native bindings to many database systems, including Oracle, MySQL, PosgreSQL, and others, but not a native connection to MSSQL or SQL Server (to my knowledge).

    VB is more designed for applications. However, they only will work in Windows. VB, if I remember right, as a MS product, does have native bindings to MSSQL and SQL Server, I don't know about other databases though.

    If you are making a full featured application, I recommend using either Java or a C/C++ language. If it would make more sense to make a web based app, even just an intranet based one, use PHP.

  18. WADE says:

    Medicamentspot.com. Canadian Health&Care.No prescription online pharmacy.Best quality drugs.Special Internet Prices. High quality pills. Buy pills online…

    Buy:Buspar.Nymphomax.Acomplia.Ventolin.Female Pink Viagra.Lipitor.Zetia.Lipothin.Wellbutrin SR.Cozaar.Amoxicillin.Benicar.Lasix.Aricept.Prozac.Zocor.SleepWell.Advair.Seroquel.Female Cialis….

Leave a Reply