Hi there DP/PHP family. I have a very big problem.. For me it's a very huge problem since I'm only a designer and knows simple html/css coding... Here is my site... CLICK HERE TO VIEW My scenarion: As you can see it is extended with .php.html (sorry for my ignorance) I just want to extend it ONLY in .php not .html like this one CLICK HERE.. is that possible guys? If you have any suggestion please feel free to drop a message on this thread. I really need your help DP gurus... Thank you in advance and may god bless DP family...
I did it.. but when I uploaded it on the server it has the same result... Any gurus here please help... Thanks
If the file is called "index.php", it will be accessible on your server as such. Unless your hosting company renames the uploaded files automatically for some reason.
In just renaming it. It will be the same output as html however if there's a database interaction or dynamically coded it will not be the same. If the coding inside the .php is similar to .html therefor it is the same output.
Are you using Windows as your operating system? If so, you may want to check if known file extensions are hidden. In a folder, click Tools then options then view. check if "Hide extensions for known file types" has a checkmark, if so, uncheck it then apply, then do a rename of the file again, other than this, simply rename it on the server using your ftp program. If you are using an uploader from your hosting company, that might present some issues as some hosting companies tend to not allow php on their server as it may present danger to their system, this is true for free hosting or some of those that are cheap hosting. Renaming html to php (as long as your server allows php files) does not present any problem at all, it will just be a simple html then but has the capacity to execute php codings other than html and css, but if your web server do not allow php, there will be some problems.