Mudsaf Posted May 28, 2012 Share Posted May 28, 2012 (edited) Hello everybody, im having this problem when i get files from some folder. It gets data from folders correctly, but the link it gives it doesn't work if it has spaces & it should not be <a href='#LINK'></a> Example it goes in href like this (below) http://localhost/Materials/BLABALALB%20BLABLABLABLA%20Business%20plan_17.12.%202010.pdf And to other place whitout href like http://localhost/Materials/BLABALALB BLABLABLABLA Business plan_17.12. 2010.pdf so id like it to go other place whitout href like this http://localhost/Materials/BLABALALB%20BLABLABLABLA%20Business%20plan_17.12.%202010.pdf Edited May 28, 2012 by Mudsaf Link to comment Share on other sites More sharing options...
justsomeguy Posted May 28, 2012 Share Posted May 28, 2012 Check the examples here: http://www.php.net/manual/en/function.rawurlencode.php Link to comment Share on other sites More sharing options...
Mudsaf Posted May 28, 2012 Author Share Posted May 28, 2012 (edited) Thanks, never heard about that before Edited May 28, 2012 by Mudsaf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now