Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a problem with passing a plus sign (+) in a URL as an argument, it comes as a space instead of the plus sign. do anyone know how can i solve this issue.

note that I'm using a php code.

Thanks
Posted
Updated 31-Oct-18 2:32am
Comments
Member 12896086 9-Dec-16 9:49am    
What's the passwords

Look up URL encoding. Official PHP document here
 
Share this answer
 
See here[^].
 
Share this answer
 
Plus in a url means space character. You can use "%2B" instead of a plus sign in urls.
An here is an online tool to encode or decode characters rapidly:
http://meyerweb.com/eric/tools/dencoder/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900