User getting superuser access. ack!
| From: | J. Wharton | Date: | Tue, 23 Apr 2002 18:09:47 +0000 |
| Subject: | User getting superuser access. ack! | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18764@lists.php.net to get a copy of this message | ||
I am having a problem where from certain browsers, a user gets the superuser
access, but from mine, she gets normal access. Help!
Here is a snippet of my code:
//findLoginType returns a single character code stored in the user table for
each user.
//variable $username=$REMOTE_USER as previously defined.
$hm=findLoginType($username);
if ($hm=='s')
{echo "<meta http-equiv=\"refresh\" content=\"0;
URL=supaIndex.php\">";}
else
{ //do normal user stuff}