PHP 4.0 Bug #3749: if $info is set $HTTP_GET_VARS[info] will have value of $info php3 worked
| From: | joshua at curtisonline dot net | Date: | Mon, 06 Mar 2000 22:40:47 +0000 |
| Subject: | PHP 4.0 Bug #3749: if $info is set $HTTP_GET_VARS[info] will have value of $info php3 worked | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16477@lists.php.net to get a copy of this message | ||
From: joshua@curtisonline.net
Operating system: Linux sundown 2.2.10 #1 Tue Jul 20 16:32:24 MEST 1999 i586 unknown
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Scripting Engine problem
Bug description: if $info is set $HTTP_GET_VARS[info] will have value of $info php3 worked
#--- start script ---
<?php
#######
# call like test.php?category=sometext
#
$category="A TEXT STRING";
print "YOUARE: $HTTP_GET_VARS[category]<br>\n";
imprivate($HTTP_GET_VARS[category]);
function imprivate($category)
{
print "YOUARE: $category<br>\n";
}
?>
#--- end script ---
#-- compile options from phpinfo() --
System: Linux sundown 2.2.10 #1 Tue Jul 20 16:32:24 MEST 1999 i586 unknown
Build Date: Mar 3 2000
Configure command: ./configure '--with-mysql' '--without-gd'
'--without-ttf' '--disable-ttf' '--disable-gd'
'--with-apache=../apache_1.3.12' '--enable-track-vars'
php.ini path: /usr/local/lib
ZEND_DEBUG=1
SAPI=Apache
ZTS is undefined
#--end compile options from phpinfo() --