PHP files without an extension?
I%26#039;m looking at various webhosts to host a project I worked on on my own computer. The project pretty much requires that I can create a PHP file without a .php, .php3., .php4 etc. extension and function like it should. I edited the httpd.conf file on my computer to change DefaultType to application/x-httpd-php, but most affordable web hosts won%26#039;t let me do that. Is there a workaround? Or do some web hosts already do that? If so, is Dreamhost one (or should I not use it at all?)
http://www.besthostratings.com/articles/...
http://cooletips.de/htaccess/
- Asker's Rating:
- Thanks a lot. I had no idea .htaccess could do that much.
Other Answers (1)
-
You need an extension to identify the type of file on any web host. You can alternatively write them as html or htm files.