In PHP, when url encoding using urlencode(), the outputted characters are in upper case:
echo urlencode('MyString'.chr(31));
//returns 'MyString%1F'
I need to get PHP to give me back 'MyString%1f' for the above example but not to lower case any other part of the string. in order to be consistent with other platforms. Is there any way I can do this without having to run through the string one character at a time, working out if I need to change the casing each time?