Re: Variables Case Sensitivity??
| From: | Georgie Casey | Date: | Thu, 19 Sep 2002 18:29:27 +0000 |
| Subject: | Re: Variables Case Sensitivity?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116918@lists.php.net to get a copy of this message | ||
yea, i probably didnt make that clear
its the variables NAMES that he can't gurantee to be lowercase
eg
hell pass http://www.server.com/test.php?NAME=John&IDNumber=12
when im expecting $name and $idnumber
sorry
"Robert Cummings" <robert.cummings@webmotion.com> wrote in message
news:3D8A1667.CC844B3C@webmotion.com...
> Georgie Casey wrote:
> >
> > is there any way to make variables NOT case sensitive??
> > A partner is posting information to one of my PHP scripts and cant
gurantee
> > that variables passed will be lowercase
>
> Sure, whatever you use make it lower case, whataever he send,
> cook to lower case.
>
> Cheers,
> Rob.
> --
> .-----------------.
> | Robert Cummings |
> :-----------------`----------------------------.
> | Webdeployer - Chief PHP and Java Programmer |
> :----------------------------------------------:
> | Mail : mailto:robert.cummings@webmotion.com |
> | Phone : (613) 731-4046 x.109 |
> :----------------------------------------------:
> | Website : http://www.webmotion.com |
> | Fax : (613) 260-9545 |
> `----------------------------------------------'