HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/grayfinder/D4.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Camera Check</title>
</head>

<body class="oneColElsCtr">
<?php
$sum=260;
$check=1;
$dtime=time();
error_reporting(0);



$nKD=$_GET["nKD"];
$nCD=$_GET["nCD"];
$nMD=$_GET["nMD"];
$nYD=$_GET["nYD"];

$PK=255*$nKD/100;
$PC=255*$nCD/100;
$PM=255*$nMD/100;
$PY=255*$nYD/100;

$nName="D50-".$nKD.$nCD.$nMD.$nYD.".tif";


echo "D50:".$nKD.$nCD.$nMD.$nYD.".tif";
//exec("echo . | convert ". $upcc24."[1x1+".$p1x."+".$p1y."] -format %[fx:int(255*r)],%[fx:int(255*g)],%[fx:int(255*b)]  info:".$filename."p1.txt"); 


exec('echo . | convert -size 60x60 xc:"cmyk(0, 0, 0,'.$PK.')" -size 3x60 xc:"cmyk(0, 0, 0, 0)" -size 60x60 xc:"cmyk('.$PC.','.$PM.','.$PY.',0)" +append '.$nName); 


	echo '_wait for download';
	

sleep(2)	
?> 


	<SCRIPT LANGUAGE="JavaScript">
<!-- http://www.culturemark.com/redirectURL/
//var spge = '<?php echo json_encode($dStr) ;?>';
//window.location="remoteEX3.php";
window.location="remoteEX4.php?name=<?php echo $nName;?>";
// -->
</script> 
<tr>

<br />
<td align="center"><font size="-2"> &copy; <a href="mailto:[email protected]">Fred Kuo</a>, 2010. All rights reserved.<br><a href="http://www.fredkuo.idv.tw/wordpress/?p=1025">Read more.</a><br>
</td>


</tr>
</body>


</html>