#20450 [Fbk->Csd]: Acquisition of 2 vars with GET works not fine
| From: | freepol at free dot fr | Date: | Fri, 15 Nov 2002 22:13:11 +0000 |
| Subject: | #20450 [Fbk->Csd]: Acquisition of 2 vars with GET works not fine | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25015@lists.php.net to get a copy of this message | ||
ID: 20450
User updated by: freepol@free.fr
Reported By: freepol@free.fr
-Status: Feedback
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: MacOsX.2
PHP Version: 4.2.3
New Comment:
Hi, it's not a bug : only a bad delimitor (it's must be & and i use +)
Thank you, Nicolas.
See you.
Previous Comments:
------------------------------------------------------------------------
[2002-11-15 14:20:56] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-11-15 14:18:28] freepol@free.fr
I try to invoke with the URL
http://192.168.0.4/~paul/test1.php?toto=ert+tutu=aze
the following PHP script :
<head>
<title>Liste des arguments</title>
</head>
<body BGCOLOR="cyan">
<?php echo "Ceci est un pg PHP<br>";
echo phpinfo() ;
?>
</body>
</html>
Bad surprise i find in the tables :
_GET["toto"] has value "ert tutu=aze"
that is *NOT* good ! But in a line underneath we have:
_SERVER["argv"] has value Array ( [0] => toto=ert
[1] => tutu=aze )
with argc pointing on the value 2.
That is *VERY* good for the GET method.
I have find nothing in the bug reports related to the word
GET. So i post this message.
Yours
PAUL DELANNOY
http://tontonpol.dyndns.org
PHP : System Darwin primavera.entropy.ch 6.1 Darwin Kernel
Version 6.1: Fri Sep 6 23:24:34 PDT 2002;
root:xnu/xnu-344.2.obj~2/RELEASE_PPC Power Macintosh
powerpc
Build Date Sep 24 2002 23:15:03
Configure Command './configure' '--disable-cli'
'--with-apxs' '--with-mysql' '--with-pgsql'
'--with-gd=/usr/local' '--with-png-dir=/usr/local'
'--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local'
'--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local'
'--enable-trans-sid' '--enable-exif' '--with-xml'
'--enable-wddx' '--with-curl=/usr/local'
'--with-pdflib=/usr/local' '--enable-ftp'
'--enable-mbstring' '--enable-xslt'
'--with-xslt-sablot=/usr/local' '--with-imap=../imap-2001a'
'--enable-dbx' '--enable-dbase' '--with-mcrypt=/usr/local'
'--enable-sockets' '--with-ldap' '--with-xmlrpc'
'--with-iodbc'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Debug Build no
Thread Safety disabled
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20450&edit=1