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

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.

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

Look up URL encoding. Official PHP document here
See here[^].
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:[^]

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