note 25498 added to function.set-magic-quotes-runtime

From: Date: Thu, 26 Sep 2002 02:37:27 +0000
Subject: note 25498 added to function.set-magic-quotes-runtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-37254@lists.php.net to get a copy of this message
as of version 4.0.6 (on Linux) this feature is broken. my needs are modest: I have a web server that returns a single url-encoded line that I want to convert to an array (without the bloody quotes). I use this function: function getln($url) { $f = @file($url); if (!$f) return; list($n, $v) = each($f); parse_str(chop($v), $h); foreach ($h as $k => $v) { $h[$k] = stripslashes($v); } return $h; } -- http://www.php.net/manual/en/function.set-magic-quotes-runtime.php http://master.php.net/manage/user-notes.php?action=edit+25498 http://master.php.net/manage/user-notes.php?action=delete+25498 http://master.php.net/manage/user-notes.php?action=reject+25498

« previous php.notes (#37254) next »