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

Posted by shotokan99 on 06/26/07 04:08

i modified it using this code:
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,$xgo);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$xresult=curl_exec($ch);

echo var_dump($xresult);

the response is: httpstatus 403

>have you encoded the url in the get paramater properly.
>have you tried it locally returning static xml, debug locally then set
>it free.
yes. im completely sure that my parameters entries are 100% ok,
because i run it straight to the browser address bar and it gives a
valid xml response. i have no firewall issue becuase i tried to run
xml before and it was doin ok. the only difference to what i did
before is, im passing a formatted xml and this time the request is
done thru query string.

 

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

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