At 05:04 PM 5/21/01 +0100, James Holloway wrote:
>Hi Sam,
>
>
> > The following is exactly what I typed in (just copy and pasted) but I'm
> > still getting the error:
> >
> > Cannot add header information - headers already sent by (output started at
> > web.php:2) in
> > web.php on line 19
>
>Make
Hi Sam,
> The following is exactly what I typed in (just copy and pasted) but I'm
> still getting the error:
>
> Cannot add header information - headers already sent by (output started at
> web.php:2) in
> web.php on line 19
Make sure that all output for Cookies and header information is sent b
>At 09:31 AM 5/21/01 -0500, you wrote:
>header("Location: http://www.example.com";);
>
>That redirects the user to the wepage of you're choosing. The rest is just a
>matter of checking variables. For instance, you can do this:
>
>if ($var1)
>{
>$url = 'www.example1.com';
>}
>elseif ($var2)
>{
>$u
header("Location: http://www.example.com";);
That redirects the user to the wepage of you're choosing. The rest is just a
matter of checking variables. For instance, you can do this:
if ($var1)
{
$url = 'www.example1.com';
}
elseif ($var2)
{
$url = 'www.example2.com';
}
elseif ($var3)
{
$url = '
4 matches
Mail list logo