View Full Version : PHP on a .html page? help..
Hiya, i have a layout on my site and it is saved index.html but when i try to put the two php scripts on the page it dose not work how do i change this so that the layout and the scripts work?
Johno
14-06-2009, 04:00 PM
I'm going to presume your host allows PHP, and if so its pretty simple. Just change the extension of the file to .php rather than .html
If not, you will need to host the PHP files somewhere else and then include them through an iFrame.
Johno! said it all really. It seems that all you need to do is change the extenstion of the file. e.g. index.html would become index.php.... The HTML will still work though!
I thought if i did that it would not work, but it did lol thanks x
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.