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

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
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"..."
 
G+ link
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
__END__;
__END__;
</php>
</php>
Submitted as [https://bugs.php.net/bug.php?id=71549 bug #71549]. Some discussion [https://plus.google.com/102282887764745350285/posts/eujncPUqsVM here].

Latest revision as of 01:40, 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. Some discussion here.