954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Disable PHP in specified folder?

Is there a way to disable php in a given folder without having admin access to the server?

I want to give out some ftp accounts to my friends and stuff, but I do not wan them to be able to leach in and access my files usign php.

I have used an .htaccess file to overwrite the php addtype with it as text/html but they can just create there own to reinstate it.

If there isn't a way to disable php in the specified folder, is there a way to say ignore all htaccess files any deeper than the root folder?

paradox814
Posting Whiz
351 posts since Oct 2004
Reputation Points: 13
Solved Threads: 4
 

Try this

Hope it helps.

PoA
Posting Whiz in Training
237 posts since Jul 2004
Reputation Points: 26
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You