Re: redirect without using header
| From: | @ Edwin | Date: | Wed, 13 Nov 2002 14:34:24 +0000 |
| Subject: | Re: redirect without using header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124223@lists.php.net to get a copy of this message | ||
Hello,
"pig pig" <pigpig8080@yahoo.com.sg> wrote:
> function Order_action($sAction)
> {
> global $db;
> global $sForm;
> global $sOrderErr;
>
> $sParams = "";
> $sActionFileName = "ShoppingCart.php?";
>
> do some error checking
>
...[snip]...
I'm not sure but this could be because of some errors being reported. (Thus,
"headers already sent" message...) Try turning off "error reporting" in your
php.ini (temporarily), restart your web server, and try the script again.
If it works, put everything back (in php.ini, I mean) and get rid of any
"bug" that is causing the error...
- E