A HTML page not display a PHP page on button click ERROR 404?
-
Experts, I have uploaded a simple site with a HTML page and a PHP page. Supposedly on a click on the HTML page the the php file should then run but it says that the page cannot be found. I don't get this because it is in the same place as the HTML file and all the directories seem to be fine. i've even tried to go onto the web address and have the php file linked after e.g www.google.co.uk/example.php but then it comes up saying page not found Any ideas? Dan
-
Experts, I have uploaded a simple site with a HTML page and a PHP page. Supposedly on a click on the HTML page the the php file should then run but it says that the page cannot be found. I don't get this because it is in the same place as the HTML file and all the directories seem to be fine. i've even tried to go onto the web address and have the php file linked after e.g www.google.co.uk/example.php but then it comes up saying page not found Any ideas? Dan
Hi, Mention the url correctly. Consider your website is www.google.com. Consider your home page is www.google.com/home.htm You have a link in home page for example.php So, you can mention the url as relative, example.php or you can mention the url as absolute, example.php Either ways it will work perfectly.
thatraja
Tips/Tricks|Brainbench certifications|Facebook|Twitter
modified on Monday, July 19, 2010 9:38 PM