...

View Full Version : Can i rename my HTML files to .php?



cord
07-14-2012, 12:08 AM
Will my html file work even if theres no PHP script in my HTML file?

tracknut
07-14-2012, 12:10 AM
Yes, presuming you have php on your server. You'd also need to change all links to your pages from .html to .php of course.

Dave

Len Whistler
07-14-2012, 12:11 AM
Will my html file work even if theres no PHP script in my HTML file?


Yes ...... But PHP must be running. So if the file is on your desktop it will not work.

jdswebservice
07-14-2012, 02:26 AM
You must have a PHP server running on your local machine (if thats where your files are stored). Something like xampp and or wamp must be installed.

If you have a remote server (i.e. networksolutions, godaddy, etc) thats apart of a hosting plan most of those servers do already have PHP 5 running however you'll want to contact your third party hosting technical person to see if php files will run on your server.

Hope this helps! :D

J-



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum