Get the full webpage address from your address bar 1234567 function get_url(){ $p=$_SERVER['HTTPS'] == 'on' ? 'https' : 'http'; $f=$p.'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; return $f; } Call Function echo get_url();
thanks for your tutorial, but how can i make breadcrumb with this function??
ReplyDelete