exec() help
| From: | KPortsmout at aol dot com | Date: | Wed, 21 Nov 2001 13:37:22 +0000 |
| Subject: | exec() help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75380@lists.php.net to get a copy of this message | ||
Hi,
I am running the following function in my PHP script:
exec("/usr/local/bin/wget
http://www.getresponse.com/cgi-bin/add.cgi?misc=1&ref=001&category1=trtips&cat
egory2=a&category3=".$Grab[2][$i]."")or die ("Error");
It is run inside an if loop and $Grab[2][$i] contains an e-mail address.
However it always returns an error and I cannot figure out why, any ideas??
TIA
Ade