Chris Shiflett wrote:
You can use the explode() function to separate the content part of the response, which is what you're interested in.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.
Here's a similar example that only returns the content:
Thanks for the tip.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php