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 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? 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 Link to comment https://forums.phpfreaks.com/topic/224944-php-regur/#findComment-1161892 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.