Bug #14 [Com]:

From: Date: Mon, 29 Aug 2011 08:18:44 +0000
Subject: Bug #14 [Com]:
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-163043@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=14&edit=1 ID: 14 Comment by: junxing dot lin at yahoo dot com Reported by: wombat at hof dot baynet dot de Status: Closed Type: Bug Package: Parser error PHP Version: 3.0b3 Block user comment: N Private report: N New Comment: http://www.chishairstraighteners.net chi flat iron http://www.chishairstraighteners.net chi flat irons http://www.chishairstraighteners.net chi hair straightener http://www.chishairstraighteners.net chi hair straighteners Previous Comments: ------------------------------------------------------------------------ [1998-01-27 10:58:57] rasmus Not a bug. $argc and $argv are not supposed to be set for POST data. They are only set for GET data. ------------------------------------------------------------------------ [1998-01-27 05:26:17] wombat at hof dot baynet dot de PHP does not handle POST data correctly. If I write a HTML Form that sends some information to the .phtml script, it *does* set the variables (<input ... name="var" value="val"> DOES result in $var = "val", but $argv and $argc are not set correctly ($argv[0], $argv[1] etc do not return anything) html: <form method=POST action="test.phtml" enctype="application/x-www-form-urlencoded"> <input type="text" name="variable" value="value"> <input type="submit" value="Submit"> </form> phtml: <?; echo $argc; echo $argv; echo $argv[0]; echo $argv[1]; ?> Possible solution: can I read data directly from STDIN ? There are no extras compiled in php, except the Apache Support (running Apache 1.3) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=14&edit=1

« previous php.bugs (#163043) next »