[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] php script to list files and sub folders recursively



At 15:59 25/06/2004 +0100, you wrote:
> What's wrong with "chmod -R 700 /path/to/folder" ??
>
Once again I failed to outline my problem completely.  Apologies.
You could use PHP's system() or exec() to execute the above shell command?
If PHP is running in safe mode (check with phpinfo()) then you can only execute files in the safe_mode_exec_dir

http://uk.php.net/manual/en/features.safe-mode.functions.php

gary