RE: [PHP] redirect with header still not working
| From: | Jim Moseby | Date: | Tue, 17 Apr 2007 15:10:53 +0000 |
| Subject: | RE: [PHP] redirect with header still not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-253112@lists.php.net to get a copy of this message | ||
>
> Have tried the full url for the header and it still doesn't
> work. I may have
> to resort to...javacript redirects unless someone can suggest
> a way around
> it.
>
> Here is the phpinfo();
>
> http://s202801613.websitehome.co.uk/info.php
>
>
> Is is 1and1 hosting if anyone had had any experience of them.
>
> thanks,
>
>
> R.
I have several sites with 1and1, and I use header() with no problems. The
main issue I have run into with header() is that your script can produce NO
OUTPUT prior to the header() call. Not even a whitespace, else header()
will not work.
JM