>>> BTW: Is there a simple way to get something like >>> array_merge($_GET, $_POST)["useform"]; >>> in PHP older than 5.4? >>> Excuse my ignorance, I'm a "plain old C" programmer. >> >> Is there a reason why you do not use $_REQUEST instead of $_GET/$_POST? > > $_REQUEST contains also cookie data, doesn't it? I want to avoid > unwanted effects.
that’s true. you can eliminate ‘unwanted effects’ by using pseudo-unique namespaces in your variable naming, e. g. $_REQUEST['namespaceVarname']. fyi array_merge() is available in PHP 4 and PHP 5. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
