#22338 [NEW]: XML-RPC classes rely on $HTTP_RAW_POST_DATA

From: Date: Thu, 20 Feb 2003 21:19:24 +0000
Subject: #22338 [NEW]: XML-RPC classes rely on $HTTP_RAW_POST_DATA
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13525@lists.php.net to get a copy of this message
From: stuart at gnqs dot org Operating system: Windows XP PHP version: 4.3.0 PHP Bug Type: PEAR related Bug description: XML-RPC classes rely on $HTTP_RAW_POST_DATA Hi, Just been looking at the XML-RPC classes in PEAR. Granted, I haven't tried running the code, but from inspection it appears to rely on $HTTP_RAW_POST_DATA. That particular variable doesn't exist if register_globals is set to 'off'. The php://input stream has been around since PHP 3.x (according to the manual), and might be a more portable way of handling this. Just tested this under PHP 4.3.0 with register_globals off, and (as expected) it worked fine. Do any other classes in PEAR rely on $HTTP_RAW_POST_DATA? Best regards, Stu -- -- Edit bug report at http://bugs.php.net/?id=22338&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22338&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22338&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22338&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22338&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22338&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22338&r=support Expected behavior: http://bugs.php.net/fix.php?id=22338&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22338&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22338&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22338&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22338&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22338&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22338&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22338&r=gnused

« previous php.pear.dev (#13525) next »