open with proc_open() and reads STDOUT
"Uros" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Hello!
>
> I'm pulling my hair. What is the right syntax to set output of some system
> call to variable.
>
> I tried everything (system, shell_exec,exec) and always get output to
> sc
try this:
&1');
echo "\n".$sMyHostname."\n";
?>
Uros wrote:
Hello!
I'm pulling my hair. What is the right syntax to set output of some system
call to variable.
I tried everything (system, shell_exec,exec) and always get output to
screen.
Please help.
PHP version 4.3.3 CLI
--
PHP General Mailing
You either need to use that sudo or suid thingie, or set up a PHP "CGI"
(using a different extension and mime-type) wrapped in suExec
(http://apache.org)
I don't know anything more than that -- Just providing the road-signs to the
right paths.
--
WARNING [EMAIL PROTECTED] address is an endangere
3 matches
Mail list logo