avillanu Posted August 29, 2007 Share Posted August 29, 2007 In my site I have a lot of content title with spaces. This makes some odd looking formatting: http://www.domain.com/file.php?name=word1%20word2 Should I be concerned with the %20? I plan on implementing some sort of search engine friendly URLs using mod rewrite soon.. What commands can I use to parse to remove it? Link to comment https://forums.phpfreaks.com/topic/67260-solved-underscore-_-instead-of-spaces/ Share on other sites More sharing options...
MadTechie Posted August 29, 2007 Share Posted August 29, 2007 use urldecode Link to comment https://forums.phpfreaks.com/topic/67260-solved-underscore-_-instead-of-spaces/#findComment-337399 Share on other sites More sharing options...
avillanu Posted August 30, 2007 Author Share Posted August 30, 2007 I'm not sure if that would solve any problem I have? My main question is if using that sort of URL would hurt me in anyway Link to comment https://forums.phpfreaks.com/topic/67260-solved-underscore-_-instead-of-spaces/#findComment-337733 Share on other sites More sharing options...
MadTechie Posted August 30, 2007 Share Posted August 30, 2007 i wouldn't worry too much.. but unless you go over 255 chars (some old clients may fail) I'm not sure if that would solve any problem I have? well you asked What commands can I use to parse to remove it? so use urldecode Link to comment https://forums.phpfreaks.com/topic/67260-solved-underscore-_-instead-of-spaces/#findComment-337737 Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 If you're going to use mod_rewrite soon, why are you worrying about this? Link to comment https://forums.phpfreaks.com/topic/67260-solved-underscore-_-instead-of-spaces/#findComment-337739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.