Re: Redirecting
| From: | Marius Ursache | Date: | Mon, 29 Apr 2002 05:23:14 +0000 |
| Subject: | Re: Redirecting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95100@lists.php.net to get a copy of this message | ||
put before your html code
<?
ob_start();
?>
<HTML>...
this should work.
Liam MacKenzie a écrit :
> Hey all,
>
> Just curious as to what the best way is to move someone off your site, apart
> from bringing up a picture of male pornography...
>
> Seriously, I've tried using
> header("Location: http://www.php.net/");
> but it returns an error saying that the headers are already set.
>
> The situation I'm in is as follows:
>
> Need to send a user to http://www.examplesite.com/ from a PHP
> script in
> http://forums.examplesite.com/
>
> Thanks for the help
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Marius Ursache (3563 || 3494)
\|/ ____ \|/
"@'/ ,. \`@"
/_| \__/ |_\
\__U_/