Reply to Re: HTTP problem, wrong characters sent (HTTP pro's needed!)

Your name:

Reply:


Posted by Manuel Lemos on 12/16/74 11:59

Hello,

on 09/27/2006 12:56 PM webEater said the following:
> I am writing a file that reads in an external file in the web and
> prints it out including the response header of the http protocol. I do
> this to enable cross domain XMLHttpRequests.
> I implemented it via fsockopen, like this:

I think you should not send headers that your HTTP client is not capable
of understanding.

Anyway, instead of reinventing the wheel, you may want to try this
proven HTTP client class:

http://www.phpclasses.org/httpclient


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

[Back to original 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

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