Revision: 23725
Updated Code
at February 18, 2010 11:42 by colum
Updated Code
$str = "http://devolf.com/Dashboard/#/p/user"; $f = explode('/',$str); for($i = 0; $i<count($f);$i++){ if($f[$i] == "#") break; echo $f[$i]."/"; }
Revision: 23724
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 11, 2010 19:30 by colum
Initial Code
$str = "http://.devolf.com/Dashboard/#/p/user"; $f = explode('/',$str); for($i = 0; $i<count($f);$i++){ if($f[$i] == "#") break; echo $f[$i]."/"; }
Initial URL
Initial Description
Will return "http://devolf.com/Dashboard/"
Initial Title
Remove all hash from a url
Initial Tags
Initial Language
PHP