ajaxCrypto
1.0.0
範例影片:https://www.youtube.com/watch?v=v0PQbwXCvLs
JavaScript 請求編碼數據
< script src =" ajaxCrypto.js " > </ script >
< script >
ajaxCrypto ( "post-or-get" , "test.php" , { isim : "ihaci" , soyisim : "berkpw" } , setHeader_func_or_null , success_func , error_func ) ;
</ script >
Php解碼數據
require_once ( " ajaxCrypto.php " );
if ( $ ajaxCrypto -> post ){
echo var_dump ( $ ajaxCrypto -> post );
}
if ( $ ajaxCrypto -> get ){
echo var_dump ( $ ajaxCrypto -> get );
}