Re: Re: how about walking another way?
| From: | Tom Carter | Date: | Sun, 04 Nov 2001 22:52:19 +0000 |
| Subject: | Re: Re: how about walking another way? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73422@lists.php.net to get a copy of this message | ||
One observation on this.. there is a major difference between this and the
the header("location:...
header happens on the server side whereas the below is clientside and
therefore unreliable. I know that netscape, particullarly on unix, is bad
for ignoring this. header() is the only reliable way to do it!
> Galkov Vladimir wrote:
>
> > Good time of a day!
> >
> > Very strange... the code you place here works good (if forget one
'=' ).
> > I
> > thinck you have to chek what you have in $name, $MYPATH,
> > "$MYPATH/admin.php"....... by the way what error you have? not such
file?
> > ... or somth special?...
> >
> > If still not working..... (vay....;-))) ) than remember than any
> > mission
> > can be completed in different ways.... try somth like this ;-)
> >
> > if ($name == "admin")
> > {
> > print '<META HTTP-EQUIV="Refresh" Content="0;
> > URL='.$MYPATH.'/admin.php.'">';
> > }
>
> OK, thanks. That works. Strange ...
>
>
> Martin S
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>