My website is an iframe base website. it has following link,
localhost/folder/index.php/#!/post/
I can't figure out how to grab the "/#!/post/"
part of the URL.
I am using the following php script to get url but its only get url till "index.php".
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
Can anybody help me to get complete URL through PHP??? , I am new in development so not much know about the technicalities.