note 6708 deleted from system by ronabop

From: Date: Thu, 17 Aug 2000 09:06:58 +0000
Subject: note 6708 deleted from system by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2065@lists.php.net to get a copy of this message
All I want to do is execute a CGI script on a php3 page. Sounds easy enough, but it's not happening. I am new to php (two weeks or so) but I learn quickly. I tried the following (which is the closest I have gotten so far) <br> <pre> &lt;? system("/path/to/script.cgi"); ?> </pre><br> When I do this, I get errors because there are required files in the cgi that I'm trying to run.<br> <pre>Can't locate ads.setup in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux .)</pre><br> There has to be an easy solution. Please help ;-)

« previous php.notes (#2065) next »