[PHP] Parsing the media string - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: [PHP] Parsing the media string (/showthread.php?tid=65276) [PHP] Parsing the media string by Matti on 08-23-2006 at 10:05 AM
Ok, this simply sucks. code:to an array containing its elements, like: code:using preg_match(). But now I have problems with the backslash... uh?! This code fails: code:And while I tried to look for the fault, I found that this: code:finds "Music", while this one: code:fails. Any ideas? RE: [PHP] Parsing the media string by RaceProUK on 08-23-2006 at 10:59 AM
preg_match("/^\\\\0([a-zA-Z]+)\\\\01\\\\0(.*?)\\\\0(.*?)\\\\0(.*?)\\\\0(.*?)\\\\0(.*?)\\\\0(.*?)$/", $psm, $ico_match); RE: [PHP] Parsing the media string by Matti on 08-24-2006 at 07:45 AM
OMFG That's weird, but it worked! |