Jump to content

php file wont open in internet explorer


hansolo

Recommended Posts

I have this code below in a notepad++.i have tried to open the file with internet explorer. Instead of the file opening a pop up box opensand asks if i want to save th file. There is a second box with preloader downloading the file <?php?><html><head></head><body><form action="<?php echo $_server["PHP_SELF"]; ?>" method="get"<input type="text" name="q"/> <input type="submit" name="submit btn" value="submit form"></form></body></html>

Link to comment
Share on other sites

Not only that, but you need to open them by typing

http://localhost/

in your browser's address bar. So, if the PHP file is right in the "www" folder and is called, say, "test.php", you need to access it with

http://localhost/test.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...