ID: 42748 Updated by: [EMAIL PROTECTED] Reported By: mazz3x at gmail dot com -Status: Open +Status: Closed Bug Type: *General Issues Operating System: Arch Linux 2007.08.1 PHP Version: 5.2.4 New Comment:
Most likely this was issue with PHP_SELF containing the stuff twice. (can't remember the bug number but it was fixed) Previous Comments: ------------------------------------------------------------------------ [2007-09-25 11:16:42] mazz3x at gmail dot com Ok, it's working now ;) ------------------------------------------------------------------------ [2007-09-25 09:45:08] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2007-09-24 19:38:55] mazz3x at gmail dot com Description: ------------ when I try to submit i always get the same result... Reproduce code: --------------- <?php echo var_dump($_POST); echo "<form method=\"post\" action=\"{$_SERVER['PHP_SELF']}\"> <input type=\"text\" name=\"test\" /> <input type=\"submit\" /> </form>"; ?> Expected result: ---------------- array(1) { ["test"]=> string(7) "testing" } Actual result: -------------- array(0) { } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42748&edit=1