Re: Cant get exec() or passthru() to work.

From: Date: Wed, 15 Nov 2000 22:24:04 +0000
Subject: Re: Cant get exec() or passthru() to work.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3881@lists.php.net to get a copy of this message
Hi, I couldn't get exec() or passthru() to work so I've just been launching other scripts using a URL... $fp = fopen("/path/to/script.pl arg1 arg2", "r"); fclose($fp); Really really hacky but it's the only way I could get it to work. The machine is running IIS5 + PHP4.03pl1 + Win2k + Interbase 6.01. -mic ----- Original Message ----- From: "Benjamin Hardy" <bhardy@troikanetworks.com> To: "'Robert Collins'" <rcollins@Insight.com>; <php-windows@lists.php.net> Sent: Thursday, November 16, 2000 6:42 AM Subject: RE: [PHP-WIN] Cant get exec() or passthru() to work. > Try giving the full path of the perl executable, and the full path of the > perl script (including drive letter and colon) > > That might help > > -----Original Message----- > From: Robert Collins [mailto:rcollins@Insight.com] > Sent: Wednesday, November 15, 2000 11:40 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Cant get exec() or passthru() to work. > > > I have tried both of these commands and neither seems to work has anyone had > any experience with these functions? > exec("perl /path/script.pl"); > passthru("perl /path/script.pl"); > > > Robert W. Collins > Web Developer II > Insight / TC Computers > www.insight.com > www.tccomputers.com > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#3881) next »