|
Posted by shimmyshack on 06/26/07 04:06
On Jun 26, 5:03 am, shimmyshack <matt.fa...@gmail.com> wrote:
> On Jun 26, 4:43 am, shotokan99 <soft_devj...@yahoo.com> wrote:
>
> > this is how i did it but i got no reply...
>
> > $ch=curl_init();
> > curl_setopt($ch,CURLOPT_URL,$xgo);
> > curl_setopt($ch, CURLOPT_HEADER, 0);
> > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> > $xresult=curl_exec($ch);
>
> > echo var_dump($xresult);
>
> > what to do to trap the response?
>
> "no" reply, nothing, just hung?
> is this a firewall issue, does the remote site accept requests from
> the user agent, does the remote session require a cookie,
>
> was it indeed "no reply"
> were there headers - use a proxy to find out.
> have you encoded the url in the get paramater properly.
> have you tried it locally returning static xml, debug locally then set
> it free.
oh and I suppose its worth asking, do you have cURL on your system at
all, try it from the command line?
Navigation:
[Reply to this message]
|