juliarnasution

Artikel Upload Gambar : Form Upload File

Sep 26th, 2020
707
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title></title>
  5. </head>
  6. <body>
  7.     <form action="<?=site_url('profile/gantifotoprofil')?>" enctype="multipart/form-data" method="post" accept-charset="utf-8">
  8.         <table>
  9.             <caption>Upload foto</caption>
  10.             <tbody>
  11.                 <tr>
  12.                     <td>upload foto</td>
  13.                     <td>:</td>
  14.                     <td><input type="file" name="fotoprofile" value="" placeholder="" accept="image/png,image/jpeg"> </td>
  15.                     <td>
  16.                         <button type="submit">Upload</button>
  17.                     </td>
  18.                 </tr>
  19.             </tbody>
  20.         </table>   
  21.     </form>
  22. </body>
  23. </html>
RAW Paste Data