#23615 [NEW]: Anything after the "?" Question mark doesn't work
| From: | melo00 at msn dot com | Date: | Tue, 13 May 2003 19:14:18 +0000 |
| Subject: | #23615 [NEW]: Anything after the "?" Question mark doesn't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39543@lists.php.net to get a copy of this message | ||
From: melo00 at msn dot com
Operating system: Windows 2000 Server
PHP version: 4.3.1
PHP Bug Type: Apache2 related
Bug description: Anything after the "?" Question mark doesn't work
If I have a link that will pass on a variable to a function within a
script, the value is not passed,
for example:
http://mywebsite/welcome.php?ID=1
the value that comes after the ? does not get read into the script, so if
the function is
<?php
function Welcome($ID)
{
echo "The session ID is " . $ID;
}
?>
the function will display .....
"The session ID is "
It doesn't even recognize that the value was assigned to ID, Is there
something that I didn't turn on in my PHP configuration, or is it a PHP
bug
By the way, Im running apache server 2 (latest version as of May 10, 2003)
PHP4.3.1 and MySQL
And please, If my little function above is not coded correctly, please
excuse me, it's only a sample I came up with on the fly to show my
problem, and I have never ever before coded PHP before 2 days ago, but if
I understand PHP correctly, thats the closest I can come to a real
function without looking at actual code
--
Edit bug report at http://bugs.php.net/?id=23615&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23615&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23615&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23615&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23615&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23615&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23615&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23615&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23615&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23615&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23615&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23615&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23615&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23615&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23615&r=gnused