locked
Learn PHP RRS feed

  • Question

  • User-713122612 posted

    Hello 2 All,

     

    |Iam new here, i want to learn PHP, please help me, iam using windows xp professional i install IIS , php 5 , mysql , but yet iam not able how i upload my first script e.g

    <html>
    <head>
    <title>My First PHP Page</title>
    </head>
    <body>
    <?php
    echo "<p>Hello World, How Are You Today?</p>";
    ?>
    </body>
    </html>

     

    please help me how can i see this script on browser. today i buy a book  PHP4 in 24 hours, but iam not seening any thing how i install iis, and upload my script on it.

     

    please guide me

     

    rgds

    Friday, July 4, 2008 2:07 AM

Answers

  • User-423335253 posted
    you might want to try http://php.net
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, July 4, 2008 4:44 AM
  • User2072887442 posted

    First, you need to check that the Web server is up and running.
    What you see when you type http://localhost/ in your browser? You should see the IIS welcome page. Then you can try to create the "phpinfo.php" file with the following content:

    <?php phpinfo();

     and navigate the brower to http://localhost/phpinfo.php, the PHP information page should appear.

    Then you can continue creating scripts and learning PHP.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, July 4, 2008 6:10 AM

All replies

  • User-423335253 posted
    you might want to try http://php.net
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, July 4, 2008 4:44 AM
  • User2072887442 posted

    First, you need to check that the Web server is up and running.
    What you see when you type http://localhost/ in your browser? You should see the IIS welcome page. Then you can try to create the "phpinfo.php" file with the following content:

    <?php phpinfo();

     and navigate the brower to http://localhost/phpinfo.php, the PHP information page should appear.

    Then you can continue creating scripts and learning PHP.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, July 4, 2008 6:10 AM