Re: Cant add new Header
| From: | elias | Date: | Mon, 07 May 2001 20:43:23 +0000 |
| Subject: | Re: Cant add new Header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51711@lists.php.net to get a copy of this message | ||
you can always redirect via JavaScript:
<script>
location = "newlocation.htm"
</script>
<?
echo "Redirecting please wait....";
exit();
?>
-elias
http://www.eassoft.cjb.net
""Andy"" <andy@w3media.com> wrote in message
news:9cuqlv$dgt$1@toye.p.sourceforge.net...
> Hello,
>
> I am a newi.
>
> Currently I try to relocate the viewed page after entering successful a
> form.
>
> I tryed it like that:
>
> HEADER("Location:http://$HTTP_HOST/admin/admin.php?content=upload");
>
> But I did get an errormessage which said that I already have sent a header
> ( which was a body tag).
>
> Can anybody please help me in that case??
>
> Thanx
>
> Andy
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>