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_/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to