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

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

<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">
        <td class="tableFieldName"> 

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


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