Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

javascript 和 php 传字符串编码处理

View gist:1824805
1 2 3 4 5
javascript:
var ajaxRUrl = 'http://'+domain+'/star/~ajax/relateMsg?q='+encodeURI('{$personname}');
 
PHP:
$personname = urldecode($_GET['q']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.