Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 26th, 2012  |  syntax: None  |  size: 0.49 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to retrieve results from an external php file (file upload)
  2. <form action="http://mydomain/upload.php" method="post" enctype="multipart/form-data" target="upload_target">
  3.     <input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
  4.     Choose a file to upload: <input id="fileName" name="uploaded_file" type="file" />
  5.     <input type="submit" value="Upload"/>
  6.  
  7.  <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"> </iframe>
  8. </form>