loading a php file.....

Problems with the Windows version of XAMPP, questions, comments, and anything related.

loading a php file.....

Postby dtran » 06. October 2003 21:40


I have a problem when I try to load my php page. NOTHING LOADS!!. When I embedd php in a html file, the html stuff displays but nothing displays inside the php tags. I tried using basic echo commands embedded inside html but hte echo stuff does not load up in Internet Explorer?? I started apache then load up my files. Is this the way to do it??


Did the PHP test files work?

Postby chanio » 07. October 2003 06:46

Did you try the PHP test files at the main menu?
If they work, then that means that the server is configured to work by the file extensions only. No LINUX-magical-file-openning. Don't worry, just use the .php extension at your files. If you would like to start with an .html file, you can always redirect to a (secret) .php file. Try using the refresh meta tag.
Apache allows to do more technical redirections at your httpd files. You should read more about all that, and try modify the httpd.config (but keeping the original file, just in case :) )
Hope it helps!
Gallactic Firewall
User avatar
Posts: 72
Joined: 18. March 2003 22:05
Location: Argentina

htm and emb php

Postby m » 08. October 2003 18:41

i dont think wampp has apache and php configured to allow the use of php in a .htm or .html file i beleive to execute the code you need to set up php to parse .htm and .html documents to allow code to be executed from a htm file. i might be wrong, but its worth a shot.

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 178 guests