Remove all hash from a url
Will return "http://devolf.com/Dashboard/"
Copy this code and paste it in your HTML
$str = "http://devolf.com/Dashboard/#/p/user";
for($i = 0; $i<count($f);$i++){ if($f[$i] == "#") break;
echo $f[$i]."/";
}
Report this snippet
Comments
Subscribe to comments