All pastes #771494 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-11-13 00:23 UTC
rendered paste body
    <form name="form_upload" <? if($embedded_upload_results){ ?>target="upload_iframe"<? } ?> method="post" enctype="multipart/form-data"  action="<? print $path_to_upload_script; ?>" style="margin: 0px; padding: 0px;">
      <? if($embedded_upload_results){ ?><input type="hidden" name="embedded_upload_results" value="1"><? } ?>
      <input type="hidden" name="vid" value="<? echo $videoID; ?>" />
      <noscript><input type="hidden" name="no_script" value="1"></noscript>
      <!-- Include extra values you want passed to the upload script here. -->
      <!-- eg. <input type="text" name="employee_num" value="5"> -->
      <!-- Access the value in the cgi with $query->param('employee_num'); -->
      <!-- Access the value in the php finished page with $_POST_DATA['employee_num']; -->
      <!-- DO NOT USE "upfile_" for any of your values. --> 
      <div id="upload_slots">
        <input type="file" name="upfile_0" size="90" <? /*if($multi_upload_slots){ ?>onChange="addUploadSlot(1)"<? }*/ ?>  onkeypress="return handleKey(event)" value="">
      </div> 
      <noscript><br><input type="reset" name="no_script_reset" value="Reset">&nbsp;&nbsp;&nbsp;<input type="submit" name="no_script_submit" value="Upload"></noscript> 
    </form>