Diff for phpPlatonLib/Platon/Platon.php between version 1.13 and 1.14
| version 1.13, 2003/01/15 22:13:32 |
version 1.14, 2003/01/22 23:50:17 |
|
|
| if ($ret == '') { |
if ($ret == '') { |
| global $HTTP_GET_VARS; |
global $HTTP_GET_VARS; |
| foreach ($HTTP_GET_VARS as $key => $val) { |
foreach ($HTTP_GET_VARS as $key => $val) { |
| if (! strcasecmp($key, $key_name) && strlen($val) > 0) { |
if (! strcasecmp($key, $key_name) && (is_array($val) || strlen($val) > 0)) { |
| $ret = $val; |
$ret = $val; |
| break; |
break; |
| } |
} |
|
|
| if ($ret == '') { |
if ($ret == '') { |
| global $HTTP_POST_VARS; |
global $HTTP_POST_VARS; |
| foreach ($HTTP_POST_VARS as $key => $val) { |
foreach ($HTTP_POST_VARS as $key => $val) { |
| if (! strcasecmp($key, $key_name) && strlen($val) > 0) { |
if (! strcasecmp($key, $key_name) && (is_array($val) || strlen($val) > 0)) { |
| $ret = $val; |
$ret = $val; |
| break; |
break; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|