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.'">'; } .............................. Vladimir Galkov. -- 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]