´úÂëÈçÏ£º
function uc_get_user($username, $isuid=0) {
$return = call_user_func(UC_API_FUNC, 'user', 'get_user', array('username'=>$username, 'isuid'=>$isuid));
return UC_CONNECT == 'mysql' ? $return : uc_unserialize($return);
}
лл´ó¼ÒŶ£¡
.....Õâ¶Î´úÂëÌ«²»È«ÁË...
È«²¿´úÂëÔÚÕâÀ
<!--#include file="config.asp"-->
<%
Function uc_api_post(module,action,arg)
dim s,postdata
s = "uid="&arg(0)
postdata = uc_api_requestdata(module,action,s,"")
uc_api_post = uc_fopen2(UC_API & "/index.php", 500000, postdata, "", true, UC_IP, 20,true)
End Function
Function uc_user_synlogin(uid)
Dim arr(8)
arr(0) = uid
uc_user_synlogin = uc_api_post("user", "synlogin", arr)
End Function
function uc_user_checkemail(email)
Dim arr(16)
arr(16) = email
uc_user_checkemail = uc_api_post("user", "check_email", arr)
End Function
function uc_user_checkname(username)
Dim arr(50)
arr(1) = username
uc_user_checkname = uc_api_post("user", "check_username", arr)
End Function
function uc_get_user(username,isuid)
uc_get_user = uc_api_post(username, isuid)
End Function
Function uc_api_requestdata(module,action
ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´ÔÒò£¬ÏÈлÁË¡£
¿Õ¼ä²»Ö§³Ö¡£
»òÕßÄãµÄÕ˺ÅûÓп ......