PHP get URL content -
this question has answer here:
i have url
http://localhost/ifocus/v3/services.php#nav-section2
i want hashtags url, ex : if url contains "#" capture via php
nav-section2
when
echo $_server['request_uri']; // output /ifocus/v3/services.php
you can't detect hash parameter of url in php, need use javascript.
you make jquery call php passes hash data (window.location.hash
) php script url parameter , return true/false though.
Comments
Post a Comment