Re: HTTP problem, wrong characters sent (HTTP pro's needed!)
- From: Manuel Lemos <mlemos@xxxxxxx>
- Date: Thu, 28 Sep 2006 01:19:34 -0300
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/
.
- References:
- HTTP problem, wrong characters sent (HTTP pro's needed!)
- From: webEater
- HTTP problem, wrong characters sent (HTTP pro's needed!)
- Prev by Date: Re: Is an ORM tool really necessary for web applications?
- Next by Date: Re: Seeking editor for serialized files
- Previous by thread: Re: HTTP problem, wrong characters sent (HTTP pro's needed!)
- Next by thread: need code snippet to verify input strings
- Index(es):
Relevant Pages
|