- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 2:37 PM
Subject: [PHP] exec() help
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=1ref=001category1=trtipsc
at
egory2=acategory3=.$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??
What error? What does it tell you?
Why don't you use fopen or fsockopen which are implemented in PHP instead of
doing probably dangerous exec()?
best regards
Stefan Rusterholz
TIA
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]