Trying to run a script on several different pages within the same site by
making the url's an array...anyone see a better way to do this?
Trying to resolve some curl errors and need some help, here are the errors:
Notice: Array to string conversion in
-General List
Assunto: [PHP] CURL error help
Trying to run a script on several different pages within the same site by
making the url's an array...anyone see a better way to do this?
Trying to resolve some curl errors and need some help, here are the errors:
Notice: Array to string conversion in
/var
On 5/8/09 8:04 AM, Jônatas Zechim zechim@gmail.com wrote:
Try to change this:
curl_setopt($ch,CURLOPT_URL,$targets);
to:
curl_setopt($ch,CURLOPT_URL, $target_url);
Zechim
zechim.com
São Paulo/Brazil
Thanks for the suggestion:
Tried it and get this error now:
Warning:
maio de 2009 10:27
Para: Jônatas Zechim; Miller, Terion; PHP-General List
Assunto: Re: RES: [PHP] CURL error help
On 5/8/09 8:04 AM, Jônatas Zechim zechim@gmail.com wrote:
Try to change this:
curl_setopt($ch,CURLOPT_URL,$targets);
to:
curl_setopt($ch,CURLOPT_URL
Miller, Terion wrote:
On 5/8/09 8:04 AM, Jônatas Zechim zechim@gmail.com wrote:
Try to change this:
curl_setopt($ch,CURLOPT_URL,$targets);
to:
curl_setopt($ch,CURLOPT_URL, $target_url);
Zechim
zechim.com
São Paulo/Brazil
Thanks for the suggestion:
Tried it and get
On 5/8/09 8:49 AM, Jônatas Zechim zechim@gmail.com wrote:
Try to echo the $target_url var. What's on it?
Try to echo the $args var. What's on it?
How do you pass the $args?
I echo'd the $target_url and I got all the correct urls -did I mention this
error reports one time for every
6 matches
Mail list logo