--- Mooki <[EMAIL PROTECTED]> wrote: > I am using these to get the code of a page that is listed in the code > below. I am using the example code of fsockopen on php.net as > reference. > > I can get the response header but i have a problem with the CHUNKs.
I can show you how to deal with chunked responses, but I think this is unnecessary. You can open a remote URL just as if it were a local file if allow_url_fopen is enabled: $handle = fopen('http://example.org/', 'r'); ... Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php