Markh789 Posted August 15, 2009 Share Posted August 15, 2009 At least, I think thats what there called. When you go on my website, I want to get the value of the url from # and > E.G, http://localhost/example.php#justavalue So I want to get 'justavalue' out of it. How can I do this? Thanks. Quote Link to comment Share on other sites More sharing options...
Markh789 Posted August 15, 2009 Author Share Posted August 15, 2009 After a bit of luck, I am using Javascript to put it in a cookie and PHP to read the cookie and phase with split();. Still looking for a PHP-Only way though. If theres not, please tell me so I can mark this solved. Quote Link to comment Share on other sites More sharing options...
trq Posted August 15, 2009 Share Posted August 15, 2009 parse_url. Quote Link to comment Share on other sites More sharing options...
Markh789 Posted August 15, 2009 Author Share Posted August 15, 2009 parse_url. Thankyou, very much! Quote Link to comment Share on other sites More sharing options...
Markh789 Posted August 15, 2009 Author Share Posted August 15, 2009 After much research, it appears fragment's (anchors) are not sent to the PHP server. parse_url did help me find this information though, thanks anyway. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.