Re: System(), exec(), Passthru(), etc

From: Date: Fri, 05 Oct 2001 04:24:28 +0000
Subject: Re: System(), exec(), Passthru(), etc
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-70016@lists.php.net to get a copy of this message
echo System("crontab -l", $var)."<br>"; echo $var; ----- Original Message ----- From: "David Robley" <huntsman@www.nisu.flinders.edu.au> To: "ReDucTor" <sjdtmv@tpg.com.au>; <php-general@lists.php.net> Sent: Friday, October 05, 2001 2:21 PM Subject: Re: [PHP] System(), exec(), Passthru(), etc > On Fri, 5 Oct 2001 13:19, ReDucTor wrote: > > I can't seem to get a return value, while using the functions, it just > > puts a 0 on the page, i try putting a <br> after i do the system call, > > still all that is on the page, 0, something is wrong, anyone know > > why?!? > > > > I got no telnet access, and i want to do some cron jobs :D > > > > - James "ReDucTor" Mitchell > > Perhaps if you show how you are doing this, it might be easier to help. > Are you for instance using the return_var argument? > > And in some cases, 0 is a valid return value; some programs may not > return a value at all. > > -- > David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc > CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA > > Best way to dispose of the Borg: Give them Windows 3.1. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#70016) next »