Hangvirus Search
Loading
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"
Raven G. Duran says:
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