Danny620 Posted January 19, 2011 Share Posted January 19, 2011 Hi, I need to split this url up and replace some of the characters for example when a user copys this url in a html textbox i want php to cut it in half and replace some chracters for example #http://www.facebook.com/pages/Oh-Home-Alone-Hello-Loud-Music/281901593858 should equl == %2FOh-Home-Alone-Hello-Loud-Music%2F281901593858 how would i do this i know the / will be the same for each url Quote Link to comment https://forums.phpfreaks.com/topic/224944-php-regur/ Share on other sites More sharing options...
Danny620 Posted January 19, 2011 Author Share Posted January 19, 2011 anyone? Quote Link to comment https://forums.phpfreaks.com/topic/224944-php-regur/#findComment-1161873 Share on other sites More sharing options...
.josh Posted January 19, 2011 Share Posted January 19, 2011 urlencode Quote Link to comment https://forums.phpfreaks.com/topic/224944-php-regur/#findComment-1161892 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.