problems with curl + exec

From: Date: Mon, 31 Mar 2003 21:38:38 +0000
Subject: problems with curl + exec
Groups: php.general 
Request: Send a blank email to php-general+get-141747@lists.php.net to get a copy of this message
hi guys , this is a wierd problem , for some reason wget is fine to return stderr to stdoutput , i'll get an exact error in key 4 , ie OK or HTTP 404 , but with curl it is not returning the exact errorode or outputting an error ? here are my instructions although for a 404 instead of 22 i am getting an errorcode of 23 or sometimds even 6 ? $execstring=escapeshellcmd($this->command." -stderr error -v --fail -O ".$url." 2>&1 ".$options); @exec($execstring, $stdout, $errorcode);

« previous php.general (#141747) next »