Hangvirus Search

Loading




PHP Tutorial - Installation and the Basics



Here is a video which will help you in knowing PHP at a glance and take you through the whole way of installing and running PHP codes.



After installing XAMPP,  Just go to the "HTDOCS" folder in the XAMPP directory.
1. There you can just make a 'new folder' and rename it example - "testphp".
2. In the folder write your PHP file and name it as you want eg. test.php
3. Open your Browser and in the address bar type as follows - "http://127.0.0.1/testphp/test.php" and see the output of your code.

POINTS: 

  • For the PHP files having name 'index.php', need not write the complete path to the file eg- if in the previous example we had "test.php" as "index.php" the the URL would have been "http://127.0.0.1/test.php/".
  • Instead of 127.0.0.1 you can also write "localhost".
  • All the files should be created in the "HTDOCS" folder in the XAMPP directory, and should be accessed as told.
-For any Help kindly post a comment.
Thank You


1 comments to "PHP Tutorial - Installation and the Basics"

  • Hello, Can you please change the direct image link my blog’s badge here? I had a problem with my Image host..

    please change it to this:
    http://lh3.ggpht.com/_XQLypnL2B10/TEv0mtC1iXI/AAAAAAAAAQQ/9oWXkTzNPac/enter.png

    Thanks a lot, really

    Blogger-Bookmark

Post a Comment

Ads -

About This Blog

Hangvirus
the blog is here to update the various aspects and the new touch to the virgin horizons of the human developed technology. it is a technology blog providing tips and tricks of computers, updates about gadgets, new games, tutorials and all that a rookie computer man would expect

Publicise


Backlinks

Socializer

Subscribe in a reader
Subscribe via E-mail :

Enter your email address:

IndiBlogger - The Indian Blogger Community
Subscribe Us via SMS in INDIA
sms - ' ON hangvirus ' to 9870807070

Software Engineering

Google Groups
Subscribe to software-engineering2010
Email:
Visit this group

Followers

Join This Blog



Labels