[phplib-trackers] [ phplib-Bugs-1552279 ] PHP5-compatibility for OOH Forms
Brought to you by:
nhruby,
richardarcher
From: SourceForge.net <no...@so...> - 2006-09-05 00:29:43
|
Bugs item #1552279, was opened at 2006-09-05 02:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=1552279&group_id=31885 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: OOH Forms Group: current CVS Status: Open Resolution: None Priority: 5 Submitted By: Robert Buchholz (goodpoint) Assigned to: Nobody/Anonymous (nobody) Summary: PHP5-compatibility for OOH Forms Initial Comment: In the file /php-lib-stable/php/oohforms.inc you have there is this portion of code: 18 function marshal_dispatch($m, $func) { 19 global $HTTP_POST_VARS, $HTTP_POST_FILES; 24 } elseif (isset($HTTP_POST_VARS[$vname])) { 25 $val = $HTTP_POST_VARS[$vname]; 26 } elseif (isset($HTTP_POST_FILES[$vname])) { 27 $val = $HTTP_POST_FILES[$vname]; The HTTP_* are deprecated and by default disabled in current versions of PHP-5, thus resulting in not working forms anymore. Please update this (and release a bugfix version of it) reading $_POST instead of $HTTP_POST_VARS $_FILES instead of $HTTP_POST_FILES In this case, you also will not need the global in line 18, since the $_-variables are super-globals. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=1552279&group_id=31885 |