Forum Moderators: coopster

Message Too Old, No Replies

how do i use php to do escape/unescape as javascript does?

better to give me an short php code :)

         

Xuefer

6:00 pm on May 1, 2003 (gmt 0)

10+ Year Member



thx
i've searched on google, not yet find one

bonanza

6:05 pm on May 1, 2003 (gmt 0)



I think you're looking for the urlencode/urldecode functions.

There's also rawurlencode/rawurldecode, the difference being, I think, how they handle the space character. One uses %20 the other a '+'.

Xuefer

2:35 am on May 2, 2003 (gmt 0)

10+ Year Member



sorry, raw**code does not support unicode :(