File: C:/xampp/htdocs/PBNCT9/TVI-parsingCTOKXT.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>Fogra TVI 627 Check</title>
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #ffffff;
margin: 0; /* 比較好的做法是將 Body 元素的邊界與欄位間隔調整為零,以處理不同的瀏覽器預設值 */
padding: 0;
text-align: center; /* 這樣會讓容器在 IE 5* 瀏覽器內置中對齊。然後,文字會在 #container 選取器中設定為靠左對齊預設值 */
color: #000000;
}
.oneColElsCtr #container {
width: 46em;
background: #FFFFFF;
margin: 0 auto; /* 自動邊界 (搭配寬度) 會讓頁面置中對齊 */
border: 0px solid #000000;
text-align: left; /* 這樣做會覆寫 Body 元素上的 text-align: center。 */
}
.oneColElsCtr #mainContent {
padding: 0 20px; /* 請記住,欄位間隔就是 Div 方塊內部的空間,而邊界就是 Div 方塊外部的空間 */
}
-->
</style></head>
<body class="oneColElsCtr">
<?php
//rename("/upload/881.csv", "target.csv");
//$OK=$_POST["OK"];
$rtarget=$_POST["rtarget"];
echo $rtarget."<p>";
$fileT = $rtarget;
$newfileT = 'target.txt';
?>
<table cellspacing="5" cellpadding="5">
<form action="TVI-ok.php?okfile=<?php echo $fileT;?>" method="POST">
<tr>
<td valign="top"><b><font size="-1">印件編號: </font></b></td>
<td><input size="30" maxlength="35" type="text" name="jobid" autofocus /></td>
<td><input size="30" maxlength="35" type="hidden" name="file" value="<?php echo $fileT;?>"> </td>
<td><input size="30" maxlength="35" type="hidden" name="newfile" value="<?php echo $newfileT;?>"> </td>
</tr>
<tr>
<td colspan=2> <input type="Submit" name="OK" value="送出"></td>
</tr>
</form>
</table>
</html>