Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="scripts/ajaxupload.php" method="post" name="standard_use" id="standard_use" enctype="multipart/form-data">
- <input name="maxSize" value="2097152" type="hidden" />
- <input name="fullPath" value="http://adolf94.x10.mx/xfx10/" type="hidden" />
- <input name="relPath" value="../../xfx10/" type="hidden" />
- <p>
- <input style="width: 328px" name="filename" id="filename" value="filename" type="file" size="35" />
- </p>
- <p style="position: relative; width: 328px; padding: 5px 10px; background-color: #FFCCCC; margin:1px; text-align: center;">
- Maximum allowed filesize is 2 MB
- </p>
- <span>
- <button onclick="ajaxUpload(this.form,'scripts/ajaxupload.php?filename=filename&maxSize=2097152&maxW=1280&fullPath=http://adolf94.x10.mx/xfx10/&relPath=../../xfx10/&maxH=1024','upload_area','File Uploading Please Wait...<br /><img src=\'images/loader_light_blue.gif\' width=\'128\' height=\'15\' border=\'0\' />','<img src=\'images/error.gif\' width=\'16\' height=\'16\' border=\'0\' /> Error in Upload, check settings and path info in source code.'); return false;">
- Upload Image
- </button>
- </span>
- <br /><br /><br />
- <div class="msg_list">
- <p class="msg_head">
- Click here <u>ONLY</u> if the button above doesn't work
- </p>
- <div class="msg_body" style="text-align: center">
- <input name="submit" value="Upload Image" type="submit" />
- </div>
- <p class="msg_head">
- Maximum width and height
- </p>
- <div class="msg_body">
- <center>
- <table>
- <tr>
- <td>
- Width:
- </td>
- <td>
-
- </td>
- <td>
- <input name="maxW" value="1280" type="text" readonly size="4"/>
- </td>
- <td>
-
- </td>
- <td>
- Height:
- </td>
- <td>
-
- </td>
- <td>
- <input name="maxH" value="1024" type="text" readonly size="4"/>
- </td>
- </tr>
- </table>
- </center>
- </div>
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement