On return, just cut out the part you don't need; PHP's string functions take care of 
this
nicely

----- Original Message -----
From: "Drew Kime" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 12:22 PM
Subject: Re: [PHP] HTML Post


I used a similar script and had the same problem I'm having with yours.
  The first few lines returned in the '$response' variable are the
headers from the POST operation.  When I get to the 'print' command at
the end I get the headers generated by my server, then the headers
retrieved from the POST operation are displayed on the page.

Is this because of how I have my server configured?  Or is there some
run-tim way to tell the server to *not* generate headers, but simply
send the specified text (including the headers) to the browser?

Drew Kime


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to