dont parse files in a directory
Posted: 20. January 2008 19:54
For a project I'm working on I need to provide the user with file downloads and this may be php files. Now I want to stop apache from parsing these files as php files (prevent apache from running the actual php code) and send them as a file download. (so the user will download a .php file instead of having a html file as output in the browser) how can i do this?
FOR EXAMPLE:
when you visit
http://www.2shared.com/
and you upload a php and you download it you will just download the php script. This is what i want...
FOR EXAMPLE:
when you visit
http://www.2shared.com/
and you upload a php and you download it you will just download the php script. This is what i want...