Advertisement
GWibisono

contoh form

May 27th, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. <form method="post"  enctype='multipart/form-data'>  
  2. <input type=file name='my'/>
  3.         <br><input name=stat type=submit value='input' />
  4. </form>
  5. <?php
  6. //echo ord('A');  65
  7.  
  8. if($_FILES){
  9.     echo '<pre>';print_r($_FILES);
  10. }
  11.  
  12.  
  13. /*
  14. xls=application/vnd.ms-excel
  15. xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  16. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement