hi:
i have this code wich always is returning true for
isset($_SERVER['QUERY_STRING']) even when calling the page
without
passing vars through the url
$thisURL = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$qs = 1;
$thisURL .= "?".$_SERVER['QUERY_STRING'];
}
for example, typing in the browser:
http://mac.local/~admin/.../home.php
echoes:
PHP_SELF: /~admin/.../home.php
QUERY_STRING:
$thisURL: /~admin/.../home.php?
do i need to unset $_SERVER['QUERY_STRING']???
OSX 10.4, PHP 5.0.4
tia,
jdoe