Date: 08/16/99
- Next message: webmaster <email protected>: "[PHP-DEV] PHP 4.0 Bug #2072: POST doesn't work"
- Previous message: Mats.Bredell <email protected>: "[PHP-DEV] Bug #2071: Compilation error in "functions/sysvshm.c""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
When I was calling the System() function in my script program under
Linux web server, I got nothing printed out, but the return-value is 1.
Here is my code:
<?php if($function == "func1") {
echo "Some is: ";
System("rsh -l user machinename /home/user/bin/someof " . $some,
$returnvalue);
print ("return= $returnvalue\n");
?>
//On the screen:
//Some is: return= 1
//(the return value=1 seems the command runs well, why there is nothing
printed out?
_________________________________________________________
Do You Yahoo!?
Get your free <email protected> address at http://mail.yahoo.com
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: webmaster <email protected>: "[PHP-DEV] PHP 4.0 Bug #2072: POST doesn't work"
- Previous message: Mats.Bredell <email protected>: "[PHP-DEV] Bug #2071: Compilation error in "functions/sysvshm.c""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

