[PHP] CURL error help

2009-05-08 Thread Miller, Terion
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

RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
-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

Re: RES: [PHP] CURL error help

2009-05-08 Thread Miller, Terion
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:

RES: RES: [PHP] CURL error help

2009-05-08 Thread Jônatas Zechim
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

Re: RES: [PHP] CURL error help

2009-05-08 Thread Shawn McKenzie
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

Re: RES: RES: [PHP] CURL error help

2009-05-08 Thread Miller, Terion
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