Computer not showing PHP files correctly.?

  • Thread starter Thread starter dunn_009
  • Start date Start date
D

dunn_009

Guest
I have recently installed notepad ++ on my computer and made a php file. I saved it correctly and now all php files on my computer do not show up correctly. It shows: A blank page, some, or all of the code now with out showing what I want it to. Please help!
I put it in my webserver
"C:/Xampp/htdocs"
Xampp is running but,
It is not working
("Used http://localhost.com/PHP/test.php")
Sorry, I means http://localhost/PHP/test.php
 
If you put your webpages to the htdocs root directory, you don't have to include the /PHP/ just type http://localhost/test.php but if your php pages is inside a folder named "php" and you placed it in htdocs and you still can't load it by typing http://localhost/php/test.php, something is wrong with (1) your xamp installation (2) your php code or (3) xamp is not properly running.

try this ApacheLite - a stand alone apache web server without the need to install on your system.

http://itblog.tourwithher.net/downloadpage.php

read the help by clicking the help button to guide you.

your folder containing your webpages should be placed in
udrive\www\

if your folder is php then, it should look like this
udrive\www\php

http://localhost/php/test.php
 
What did you do to open up the file from your browser? Did you click file and then open? That's the wrong way to do it. You're supposed to type http://localhost/127.0.0.1/filename.php or something.
Also where did you save the file? It's supposed to go in the root directory. Open up to the folder containing your web server, like Apache, and save it in the hotdocs folder. Though I don't think the URL I wrote was right. Look up a PHP tutorial and it should tell you.
 
I installed Apache, PHP, MySQL and phpMyAdmin on Windows Vista. I explained what I did in my posts for December 26, December 28, December 29 and December 30, 2008:

http://diary.jaimemontoya.com/2008/12/friday-december-26-2008.html
 
Back
Top