Thread: Redirect
View Single Post

   
  #6 (permalink)  
Old 02-28-2008, 07:35 AM
Bill Karwin
 
Posts: n/a
Default Re: Redirect

Garry Jones wrote:
> Header("Location: http://www.mydomain.com/");
> ?>
>
> But it does not work, it adds the data in correctly and leaves the user on a
> totally blank page.


I'm not a regular PHP user, but it seems to me that PHP variable names
are case-sensitive. I assume function names are case-sensitive too.

The docs for the header function spell it in lower-case, so your code
above could be referencing a non-existant function by the name Header().

See
http://www.php.net/manual/en/function.header.php

Regards,
Bill K.
Reply With Quote