if (preg_match('/^:([^!]+)!(\S+) ([A-Z]+) ([^:]+)?:(.*)$/', $b, $c))
//et hop, on ajoute la commande dans le tableau
$this->msgs[]=array('from'=>$c[1], 'real'=>$c[2], 'method'=>$c[3],
'to'=>$c[4], 'content'=>$c[5], 'global'=>$b);
else if (preg_match('/^(\S+) :(.*+)$/', $b, $c))
$this->msgs[]=array('method'=>$c[1], 'content'=>$c[2], 'global'=>$b);
else
if ($b)
$this->msgs[]=array('method'=>'Olther','global'=>$b);
In a dream, I saw me, drop dead... U was there, U cried... It was just a dream, if I die, U won't cry, maybe, U'll be happy
Mon site (articles sur la programmation et programmes)