开发者

Php: Function to replace all chars except valid RFC 3986

Looking for a simple validation script that will replace all chars in a string except RFC 3986 valid chars

A-Z, a-z开发者_如何学C, 0-9, -, ., _, ~, :, /, ?, #, [, ], @, !, $, &, ', (, ), *, +, ,, ; and =. Also any other character needs to be encoded with the percent-encoding (%hh)


rawurlencode()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜