Georgie Casey wrote:
> 
> 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

$lowerVars = array();
foreach( $_POST as $key => $value )
{
    $lowerVars[strtolower( $key )] = &$value;
}

Voila!

HTH,
Rob.
-- 
.-----------------.
| Robert Cummings |
:-----------------`----------------------------.
| Webdeployer - Chief PHP and Java Programmer  |
:----------------------------------------------:
| Mail  : mailto:[EMAIL PROTECTED] |
| Phone : (613) 731-4046 x.109                 |
:----------------------------------------------:
| Website : http://www.webmotion.com           |
| Fax     : (613) 260-9545                     |
`----------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to