get_parms('ses_id', 'usr_id', 'upload_batch_id', 'index', 'file', 'debug'); $fil = $parm['file']; $filesize = filesize($fil); $filename = basename($fil); $k = file_get_contents($fil); $md5 = md5($k, false); // $crc32 = crc32($k); $url = dirname($_SERVER["HTTP_REFERER"]) . '/upload/upload.php'; $post = array( 'debug'=>$parm['debug'], 'file'=>'@'.realpath($fil), 'ses_id'=>$parm['ses_id'], 'usr_id'=>$parm['usr_id'], 'p'=>' '.htmlentities($parm['upload_batch_id']).' '.htmlentities($parm['index']).' '.htmlentities($filename).' '.htmlentities($filesize).' '.htmlentities($md5).' ' ); ?> post to :

	curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
	$response = curl_exec($ch);
	
	curl_close($ch);
?>
reponse :