Re: How to pass data without headers

From: Date: Mon, 28 Oct 2002 18:55:31 +0000
Subject: Re: How to pass data without headers
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-121769@lists.php.net to get a copy of this message
Chris Shiflett wrote:
You can use the explode() function to separate the content part of the response, which is what you're interested in. Here's a similar example that only returns the content: http://shiflett.org/tutorials/php_post.txt
Thanks, that's nearly what I need. But it seems there are some server-config-specific issues. In your example, the server sets a "base href" tag before the doctype tag. In my case, there is a special character before the doctype tag, and another after the end of the page data. Thanks for the tip. Drew

« previous php.general (#121769) next »