Riquez wrote: >So, to clarify, what happens is the POST is sent to the second page, & >the result from the second page is sent back & displayed on the first >page. Page 2 is never actually loaded in the browser, just the result >in the fgets() part on page 1. > > Actually, page 2 *is* loaded. Only, it's your script doing the loading instead of the browser. And that's the problem, the browser does more, namely interperet the header and do something with it. But then again, skipping the header may be all that needs to be done in your situation.
>Right, so now I can do something with this. > >Question: How do I eliminate the headers from the browser output? - so >I just get the result of page 2. > > If I remember correctly the header is separated from the remainder by an empty line, which is recognized by a double \r\n. So, you skip the part before that. >Your input on this is much appreciated, I was about to give up on it. > > Glad I could be of service, O'Neil. Cheers, Carl Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
