|
Posted by Adam Baker on 09/03/07 23:32
I'm not sure whether the following is a problem with PHP or my Apache
server. Minimal example:
<?php
if (isset($dummy))
echo "Set.";
else
echo "Not set.";
echo "\n</br>".getenv("QUERY_STRING");
?>
With this URL:
http://localhost/minimal.php?dummy=5
Produces:
Not set.
dummy=5
isset works as expected when I run this on a different server (Windows
something, with an older PHP version, sorry I don't know the
specifics). Can anybody say whether this is a problem with my PHP
installation or my Apache installation?
Thanks,
Adam
Navigation:
[Reply to this message]
|