Forum Moderators: coopster

Message Too Old, No Replies

Url encode string

         

ntbgl

1:33 am on Apr 4, 2009 (gmt 0)

10+ Year Member



How would I url encode a complete string, not just "special characters"

Hi! => %48%69%21

ntbgl

2:07 am on Apr 4, 2009 (gmt 0)

10+ Year Member



bin2hex($str) seems to work,

But how do I undo it?

hex2bin($str) says its an undefined function.

eeek

6:41 pm on Apr 4, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How would I url encode a complete string, not just "special characters"

Just what are you trying to do?