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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]