Bug #1425: $HTTP_POST_VARS and $HTTP_GET_VARS get all form values in strings.

From: Date: Wed, 19 May 1999 00:29:33 +0000
Subject: Bug #1425: $HTTP_POST_VARS and $HTTP_GET_VARS get all form values in strings.
Groups: php.dev 
Request: Send a blank email to php-dev+get-5771@lists.php.net to get a copy of this message
From: ukiseal@hotmail.com Operating system: PHP version: 3.0.7 PHP Bug Type: Other Bug description: $HTTP_POST_VARS and $HTTP_GET_VARS get all form values in strings. I have a simple function which goes through some variables gotten from a form using the $HTTP_POST_VARS and $HTTP_GET_VARS, the function checks if something is an int (is_int()) or string (is_string()), but because $HTTP_POST_VARS and $HTTP_GET_VARS set everything to strings I cant get the results that I need. (I'm trying to make a SQL query which puts quotes around strings and nothing around int's) -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5771) next »