Advertisement
adolf1994

Upload form

Jun 28th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.00 KB | None | 0 0
  1. <form action="scripts/ajaxupload.php" method="post" name="standard_use" id="standard_use" enctype="multipart/form-data">
  2.     <input name="maxSize" value="2097152" type="hidden" />
  3.     <input name="fullPath" value="http://adolf94.x10.mx/xfx10/" type="hidden" />
  4.     <input name="relPath" value="../../xfx10/" type="hidden" />
  5.     <p>
  6.         <input style="width: 328px" name="filename" id="filename" value="filename" type="file" size="35" />
  7.     </p>
  8.     <p style="position: relative; width: 328px; padding: 5px 10px; background-color: #FFCCCC; margin:1px; text-align: center;">
  9.         Maximum allowed filesize is 2 MB
  10.     </p>
  11.     <span>
  12.         <button onclick="ajaxUpload(this.form,'scripts/ajaxupload.php?filename=filename&amp;maxSize=2097152&amp;maxW=1280&amp;fullPath=http://adolf94.x10.mx/xfx10/&amp;relPath=../../xfx10/&amp;maxH=1024','upload_area','File Uploading Please Wait...&lt;br /&gt;&lt;img src=\'images/loader_light_blue.gif\' width=\'128\' height=\'15\' border=\'0\' /&gt;','&lt;img src=\'images/error.gif\' width=\'16\' height=\'16\' border=\'0\' /&gt; Error in Upload, check settings and path info in source code.'); return false;">
  13.             Upload Image
  14.         </button>
  15.     </span>
  16.  
  17.     <br /><br /><br />
  18.  
  19.     <div class="msg_list">
  20.         <p class="msg_head">
  21.             Click here <u>ONLY</u> if the button above doesn't work
  22.         </p>
  23.         <div class="msg_body" style="text-align: center">
  24.             <input name="submit" value="Upload Image" type="submit" />
  25.         </div>
  26.         <p class="msg_head">
  27.             Maximum width and height
  28.         </p>
  29.         <div class="msg_body">
  30.             <center>
  31.                 <table>
  32.                     <tr>
  33.                         <td>
  34.                             Width:
  35.                         </td>
  36.                         <td>
  37.                             &nbsp;
  38.                         </td>
  39.                         <td>
  40.                             <input name="maxW" value="1280" type="text" readonly size="4"/>
  41.                         </td>
  42.                         <td>
  43.                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  44.                         </td>
  45.                         <td>
  46.                             Height:
  47.                         </td>
  48.                         <td>
  49.                             &nbsp;
  50.                         </td>
  51.                         <td>
  52.                             <input name="maxH" value="1024" type="text" readonly size="4"/>
  53.                         </td>
  54.                     </tr>
  55.                 </table>
  56.             </center>
  57.         </div>
  58.     </div>
  59. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement