Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

ajaxCrypto

Encode Ajax Request Data & Decode PHP post-get

Example video: https://www.youtube.com/watch?v=v0PQbwXCvLs

JavaScript Request Encode Data

<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 Decode Data

require_once("ajaxCrypto.php");
if($ajaxCrypto->post){
  echo var_dump($ajaxCrypto->post);
}
if($ajaxCrypto->get){
  echo var_dump($ajaxCrypto->get);
}

You can’t perform that action at this time.