>>>>> "DR" == David Robley <[EMAIL PROTECTED]> writes:

 > On Sat, 17 Feb 2001 04:26, [EMAIL PROTECTED] wrote:
 >> I have been having some problems getting exec to run a 'find
 >> /var/spool/mail/ -mindepth 3 -type d' command. She just wont
 >> execute it and give me a result, however she will run 'ls'....

 > What result do you get running that command from the shell?

The syntax of the command itself looks fine.

I assume that there are actually directories three levels below
/var/spool/mail for it to find?

If it's succeeding on the commandline and not from PHP, I'd guess
it's probably a path problem, especially if you can run 'ls'. Try
giving the full path to 'find'.

        -robin

-- 
Robin Vickery.................................................
BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to