|
发表于 2012-3-1 12:07:58
|
显示全部楼层
其实这个Submit=%C5%FA%C1%BF%B2%E9%CA%D6%BB%FA%BA%C5%C2%EB
就是那个按钮上的字....
这样写也可以
Submit=encode_url_string("批量查手机号码")
Func encode_url_string($_the_string_to_encode = "")
Local $the_string_binary = "", $the_string_encoded = "", $the_string_binary_single, $_the_string_to_encode_single
For $i = 1 To StringLen($_the_string_to_encode)
$_the_string_to_encode_single = StringMid($_the_string_to_encode, $i, 1)
If StringRegExp($_the_string_to_encode_single, "[\w-_\[\]#/=\.]", 0) Then
$the_string_encoded &= $_the_string_to_encode_single
Else
$the_string_binary_single = StringToBinary(StringMid($_the_string_to_encode, $i, 1) & " ")
$the_string_binary_single = StringReplace($the_string_binary_single, "0x", "")
$the_string_encoded &= "%" & StringMid($the_string_binary_single, 1, 2)
$the_string_encoded &= "%" & StringMid($the_string_binary_single, 3, 2)
EndIf
Next
Return $the_string_encoded
EndFunc ;==>encode_url_string |
评分
-
查看全部评分
|