Re: Hi! Is there any equivalent function with header?
| From: | Joe Webster | Date: | Tue, 19 Mar 2002 14:40:30 +0000 |
| Subject: | Re: Hi! Is there any equivalent function with header? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89139@lists.php.net to get a copy of this message | ||
I wouldn't say you NEED a full url, it should handle relative URL's as well.
I don't know if it's part of the specification, but it will work.
As far as your problem I hope that line break isn't in the string and it's
just there because of the email.
-Joe
"Jason Wong" <php-general@gremlins.com.hk> wrote in message
news:php.general-89136@news.php.net...
> On Tuesday 19 March 2002 22:20, Balaji Ankem wrote:
> > Hi friend,
> > Is there any equivalent statement to header ("Location:
> > user.php");
> > Because I am getting problem with that line in fresh browser
> > context.
>
>
> The correct usage is:
>
> header ("Location: http://www.domain.com/user.php");
>
>
> ie you need the full URL.
>
> > How to see the php error log? And how to display an error
> > messages in php?
>
> Read the chapter on "Error Handling"
>
>
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
>
> /*
> A man without a woman is like a statue without pigeons.
> */