$pizza = "piece1 piece2 piece3 piece4 piece5 piece6"; $pieces = explode(" ", $pizza); $data = "foo:*:1023:1000:: / home / foo: / bin / sh"; list($user,$pass,$uid,$gid,$gecos,$home,$shell) = explode(" :",$data);
?php $pizza = "garniture1 garniture2 garniture3 garniture4"; $pieces = explode(" ", $pizza); $data = "foo:*:1023:1000:: / home / foo: / bin / sh"; list($user,$pass,$uid,$gid,$gecos,$home,$shell) = explode(" :",$data);?