Re: User getting superuser access. ack!
| From: | szii at sziisoft dot com | Date: | Tue, 23 Apr 2002 19:51:24 +0000 |
| Subject: | Re: User getting superuser access. ack! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18766@lists.php.net to get a copy of this message | ||
Well, that looks like a problem within the findLoginType()
call. Since it's not been included, it's hard to help you. :)
'Luck
-Szii
----- Original Message -----
From: "J. Wharton" <joshwhar@cc.usu.edu>
To: <php-db@lists.php.net>
Sent: Tuesday, April 23, 2002 11:09 AM
Subject: [PHP-DB] User getting superuser access. ack!
> 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}
>
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php