|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-10-13 10:55 UTC] sjoerd@php.net
[2009-10-14 08:57 UTC] sjoerd@php.net
[2009-10-15 12:26 UTC] svn@php.net
[2009-10-15 12:27 UTC] iliaa@php.net
[2009-10-15 14:10 UTC] svn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 03:00:01 2025 UTC |
Description: ------------ the import_request_variables always return false in any condition. Reproduce code: --------------- --- From manual page: function.import-request-variables#Return Values --- if(import_request_variables('p', 'post_')) { echo "unimport the request<br/>"; phpinfo(); } if(isset($post_username)) { echo "<strong>", $post_username, "</strong><br/>"; } if(isset($post_email)) { echo "<strong>", $post_email, "</strong><br/>"; } if(isset($post_message)) { echo "<strong>", $post_message, "</strong>"; } Expected result: ---------------- I think the import_request_varibles return true Actual result: -------------- it return false, and return false anytime, if I run php5 in command line or in apache.