Page 1 of 1

Question about file handling by the server

Posted: Thu Jan 01, 2004 7:42 am
by h@mm3r
Is it possible to tell PHP to handle files without extension (like perl/CGI)?
Maybe using .htaccess or something?

Posted: Thu Jan 01, 2004 8:07 am
by vigge89
i don't kow if you can do that, but to make PHP process any filetype, save this in a .htaccess-file

Code: Select all

AddType application/x-httpd-php .ext
change .ext to the extension you want PHP to process, ie .jpeg

Posted: Thu Jan 01, 2004 9:23 am
by JAM