Difference between revisions of "User:Woozle/PHP multi-select bug"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "<php><?php echo <<<__END__ <html> <body> __END__; echo '$_POST contents:<pre>'.print_r($_POST,TRUE).'</pre>'; echo 'Raw POST header:<b>[</b>'.file_get_contents("php://input"...")
 
(submitted bug report)
Line 24: Line 24:
 
__END__;
 
__END__;
 
</php>
 
</php>
 +
Submitted as [https://bugs.php.net/bug.php?id=71549 bug #71549].

Revision as of 00:41, 8 February 2016

<php><?php

echo <<<__END__ __END__; echo '$_POST contents:

'.print_r($_POST,TRUE).'

'; echo 'Raw POST header:['.file_get_contents("php://input").']'; echo <<<__END__



Select all three options and press the button:
You ought to see all three values returned, but there's only one. You can see all three in the Raw POST header, however.

__END__; </php> Submitted as bug #71549.