So I have been debugging a script and a lot of the data being passed into it contained this symbol: ‘+’. I discovered that if I changed it to %2B that it worked. I know this must be sort of a very basic question but after poking around the PHP documentation, I couldn’t find a solution. Is there a built-in PHP function for converting ascii symbols like this?
Share
Is it really
%2? not%2B?It looks like you’re finding
urlencodefunction.