smithmr8 Posted May 9, 2011 Share Posted May 9, 2011 Hi, Not quite sure how to explain this in technical terms, but basically what I want to be able to do is allow a user to enter a url like: thisurl.co.uk/UF55fg3 And I am then able to retrieve the value "UF55fg3" in the index page. Like the URL shorteners do. Not sure how to do it though. Cheers. Quote Link to comment https://forums.phpfreaks.com/topic/235905-getting-the-value-of-a-specified-string/ Share on other sites More sharing options...
jonsjava Posted May 9, 2011 Share Posted May 9, 2011 you would first need to learn about htaccess and MOD REWRITE. you can google that. Once you have that, if you have further questions, feel free to ask away. If you want help here regarding mod rewrite, hit up the apache section. Quote Link to comment https://forums.phpfreaks.com/topic/235905-getting-the-value-of-a-specified-string/#findComment-1212707 Share on other sites More sharing options...
jonsjava Posted May 9, 2011 Share Posted May 9, 2011 A good htaccess script can be found here. If you want help with this, agin, go to the Apache Boards Quote Link to comment https://forums.phpfreaks.com/topic/235905-getting-the-value-of-a-specified-string/#findComment-1212709 Share on other sites More sharing options...
smithmr8 Posted May 9, 2011 Author Share Posted May 9, 2011 Thanks. Found what I needed, and the core element is working perfectly. Thanks for the help / point in the right direction. Quote Link to comment https://forums.phpfreaks.com/topic/235905-getting-the-value-of-a-specified-string/#findComment-1212714 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.