I want to be able to create a folder in a directory and chmod it to 777, how can I go about this?
I'm starting a Members Only section on a website I run, and I want to automatically create a folder with the same name as the newly registered member. This folder also needs to be chmod 777 so that the members can upload images to it.
Another quick question is this... is there any terrible security issues with allowing them to do this. The script I am using ensures the files uploaded only have image extensions but I'm still a bit wary of opening a 'gateway', as it were, to the server.
Any help you can give me on any of these points will be very much appreciated.
Thanks
JT I don't make mistakes, I'm merely beta-testing life.
I'm starting a Members Only section on a website I run, and I want to automatically create a folder with the same name as the newly registered member. This folder also needs to be chmod 777 so that the members can upload images to it.
Another quick question is this... is there any terrible security issues with allowing them to do this. The script I am using ensures the files uploaded only have image extensions but I'm still a bit wary of opening a 'gateway', as it were, to the server.
Any help you can give me on any of these points will be very much appreciated.
Thanks
JT I don't make mistakes, I'm merely beta-testing life.