You are here: reading Response Headers « PHP Programming Language « IT news, forums, messages
reading Response Headers

Posted by ross on 11/26/05 07:35

Hi Group,
I am working on web service where I am trying to execute a
remote URL from within a php file and would like to make some
decisions depending on the output.

I am using fopen to open the URL
$handle=@fopen("www.mysite.com/api/command","r");

If the command is successful it returns an XML file with
response headers. I have no problems reading the XML.

I am interested in the response header which has a session-ID.
how do I access this information.
any inputs are greatly appreciated..
Thanks a bunch,
Regards,
Ross

 

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

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