Return to Snippet

Revision: 1568
at October 23, 2006 11:53 by deadmoon


Initial Code
<?php
foreach ($listofpageswithphpextension as $pgs) {
		list($pgs, $extension) = explode('.',$pageLink);
		$page = str_replace($pagelink,"$pgs.html",$page);
	}


$data = "foo:*:1023:1000::/home/foo:/bin/sh";
list($user, $pass, $uid, $gid, $gecos, $home, $shell) = explode(":", $data);
echo $user; // foo
echo $pass; // *
?>

Initial URL
http://london-seo.com/

Initial Description


Initial Title
make a simple array with 1 dimension sort of into 2

Initial Tags
array

Initial Language
PHP