Location: PHPKode > projects > Druid Defect Control > defectcontrol_0.9.4/tts/uploadattach.php
<?php require_once 'usercheck.php' ?>

<html>
<head>
<title>Upload attach</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>

<body bgcolor="#FFFFFF">
<?php include 'header.php'; ?>
<h1>Upload attachment</h1>
<p>Choose the file you will upload as attachment to entry <?php echo $iddefect?></p>

<p>&nbsp;</p><FORM ENCTYPE="multipart/form-data" ACTION="uploadattachpost.php" METHOD=POST>
<input type="hidden" name="MAX_FILE_SIZE" value="10000000">    
<input type="hidden" name="iddefect" value="<?php echo $iddefect ?>">

  <table width="100%" border="0" cellspacing="2" cellpadding="0">
    <tr>
        <td class="tableFieldName"> 

          Short description: </td>
        <td class="tableFieldContent"> 
          <input type="text" name="fFileDesc" size="60" maxlength="50">
        </td>
      </tr>
      <tr>
        <td class="tableFieldName">File to send:</td>
        <td class="tableFieldContent"> 
          
        <input name="userfile" type="file" size="50">
        </td>
      </tr>
    </table>
    
  <p align="center"> 
    <input type="submit" name="Submit" value="Send file">
  </p>
</FORM>

<p>&nbsp;</p>


</body>
<?php include 'footer.php'; ?>
</html>
Return current item: Druid Defect Control