Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

ctv5

$url = "https://xc-outer-api.902t.com/apiouter-19";

$_Method['call']	= 'GetQqtyCatalog';

$_Content['Control' ]	= 4;
$_Content['page' ]		= 1;
$_Content['pagemax' ]	= 10;
$_Content['typeid' ]	= 0;


$output = implode('&', array_map(
    function ($v, $k) { return sprintf("%s=%s", $k, $v); },
    $_Content,
    array_keys($_Content)
));


$signkey = md5($output.'$t='.date("HisYmd").'&key=984c4d1f62abefd5b792d4907d08d226');

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array("call"=>$_Method['call'], "content"=>$_Content, "signkey"=>$signkey ))); 
$output = curl_exec($ch); 
curl_close($ch);
 
print_r($output);

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.