Results 1 to 14 of 14
Thread: Need help with htaccess and PHP
Nov 23, 2006, 12:05 #1
- Join Date
- Nov 2006
- 0 Post(s)
- 0 Thread(s)
Need help with htaccess and PHP
I am making a hosting script where users can upload files to it. It would automatically create a directory when you create an account for the user.
Now my question is, since the directory will be able to upload all kinds of files, is there some way in htaccess to make it so that php cant access outside that directory. (i know readfile() can view files outside their directory).
Is there any way to prevent the users from getting access outside their directories so that they cant mess up other users files.
Thanks for your time.