RE: [PHP] exec, backtics and co.
| From: | scott [gts] | Date: | Wed, 20 Jun 2001 21:02:51 +0000 |
| Subject: | RE: [PHP] exec, backtics and co. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54608@lists.php.net to get a copy of this message | ||
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:MPAINDAV@arinc.com]
> Sent: Wednesday, June 20, 2001 7:26 AM
> To: 'php-general@lists.php.net'
> 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
>