>I'm making a website for a friend, and trying to do everything the right >way. I want to add slashes to EGPCS values. I know how to use this, >but one of the comments on the get_magic_quotes_gpc entry in the manual >points out that it wouldn't work with arrays in these values - and they >have a point. Does anyone have code that works with arrays in EGPCS >values? Thanks.
Something like this: function array_add_slashes($data){ if (is_array($data)){ while (list($key, $value) = each($data)){ $result[$key] = array_add_slashes($value); } } else{ $result = addslashes($data); } return $result; } -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php