You are here: Re: accessing web service... « PHP Programming Language « IT news, forums, messages
Re: accessing web service...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация