Location: PHPKode > scripts > iYell > iyell/save.php
<?php
//This project is done by vamapaull: http://blog.vamapaull.com/
//The php code is done with some help from Mihai Bojin: http://www.mihaibojin.com/

session_start();

if(isset($GLOBALS["HTTP_RAW_POST_DATA"])){
	$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
	$img = $_GET["img"];
	$filename = "cam/". mktime(). rand().".jpg";
	file_put_contents($filename, $jpg);
	$_SESSION['camurl'] = $url.$filename;
} else{
	echo "Encoded JPEG information not received.";
}
?>
Return current item: iYell