Re: redirecting to a success page
| From: | Richard Davey | Date: | Mon, 22 Nov 2004 16:48:34 +0000 |
| Subject: | Re: redirecting to a success page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202683@lists.php.net to get a copy of this message | ||
Hello Judson,
Monday, November 22, 2004, 2:13:13 PM, you wrote:
JV> The original script, created by Dreamweaver, gives an error that says
JV> header has already been sent. I tried different options to no avail. I
JV> realize this script is now seriously hosed but thought I would include
JV> it anyway since others may be using Dreamweaver.
Two options: Either use output buffering, or search for the extra
whitespace in the file - it could be before (or after) closing PHP
tags, or if you have any kind of HTML in the same script that would
cause it - basically anywhere you break out of PHP and into HTML
again.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde