Bug #670: SELECT MULTIPLE (or similar) is not supported anymore
| From: | charly at openware dot com dot ar | Date: | Wed, 19 Aug 1998 22:45:32 +0000 |
| Subject: | Bug #670: SELECT MULTIPLE (or similar) is not supported anymore | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-326@lists.php.net to get a copy of this message | ||
From: charly@openware.com.ar
Operating system: SCO UNIX OSE 5.0.2
PHP version: 3.0.3
PHP Bug Type: Other
Bug description:
I'll give you two HTML pages with PHP3 code embedded. I'm using PHP3 in CGI style.
Loading the first page, and pressing "Go", teorically the browser sends two array elements
to the
server: $argv[0] and $argv[1]. But PHP3 does not initialize this elements as array again in the
2nd page. This case worked with PHP2.
A similar case was covered in PHP2 manual under the chapter "SELECT MULTIPLE and PHP". But
this chapter does not exist in PHP3 manual. Array's initialization seems to work equal as it do
in PHP2 so I've looked for this in the FAQ, but I didn't find any topic related.
All of this makes me think it's a bug. Sorry for any inconvenience if it is not.
Regards, Carlos.
------ page 1: array1.phtml ------
#!/usr/bin/php3
<html>
<body>
<?
$argv[0]= "opcion 0";
$argv[1]= "opcion 1";
?>
<form action="array2.phtml" method=post>
<input type=hidden name="argv[0]" value="<? echo "$argv[0]";
?>">
<input type=hidden name="argv[1]" value="<? echo "$argv[1]";
?>">
<input type=submit value="Go!">
</form>
</body>
</html>
------
------ Page 2: array2.phtml ------
#!/usr/bin/php3
<html>
<body>
<? echo "($argv[0]) - ($argv[1])"; ?>
</body>
</html>
------
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net