you must have permission to execute/read the binary,
and you must give the full location of that binary.

> -----Original Message-----
> From: Paindavoine, Matthieu (MPAINDAV) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 7:26 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] exec, backtics and co.
> 
> 
> Hello,
> 
> I have a problem with a php script which contains an exec (identical problem
> with backtics and similar operators)
> some programs are simply not executed
> for example, having a simple 'hello world' program in c++ will work fine,
> but having a program that writes 'hello world' to a file won't work.
> 
> My question is 'What are the requirements a binary must match to be
> correctly executed'?
> I assume there are some stuff about
> -permissions...
> -location in the directory  tree...
> - ??...
> 
> I don't know where to find this information, so if anyone has suggestions or
> pointers, I would really appreciate the help. Thank you.
> 
> Matthieu
> 

-- 
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