RE: [PHP] HTTP Authentication thru PHP
| From: | Dan Joseph | Date: | Wed, 19 Nov 2003 14:31:56 +0000 |
| Subject: | RE: [PHP] HTTP Authentication thru PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170286@lists.php.net to get a copy of this message | ||
Hi,
> But the above is not working when the $username contains a trailing
> semicolon
> or when the $password is starting with a semicolon,
> Ex: what if the $username ="chandu:"
>
> Is there any solution for this ?
You could use str_replace to strip those before they get used.
-Dan Joseph