File: C:/xampp/htdocs/FograCT1/ccRGB.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Camera profile Check</title>
</head>
<body>
<?php
error_reporting(0);
$R=$_GET['R'];
$G=$_GET['G'];
$B=$_GET['B'];
?>
<form action="RGBcorrect.php" method="post"
enctype="multipart/form-data">
<table align="center" width=600>
<tr>
<td>Correct from RGB 139:</td>
<td valign="top"><b><font size="-1">R: </font></b>
<input size="15" maxlength="50" type="text" name="R" value="<?php echo $R;?>"></td>
<td valign="top"><b><font size="-1">G: </font></b>
<input size="15" maxlength="50" type="text" name="G" value="<?php echo $G;?>"></td>
<td valign="top"><b><font size="-1">B </font></b>
<input size="15" maxlength="50" type="text" name="B" value="<?php echo $B;?>"></td>
</tr>
<tr><td>
<br>
<label for="file">Upload jpg file:</label>
<br>
<input type="file" name="jpgfile" id="jpgfile" accept=".jpg, .jpeg" required>
</td>
</tr>
<tr><td>
<input type="submit" name="submit" value="Submit">
</td>
</tr>
<tr>
<td align="center"><font size="-2"> © <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>
</form>
</table>
</body>
</html>