日期:2014-05-17 浏览次数:20477 次
<html> <head> <title>upload</title> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-date"> <input type="file" name="pic"> <input type="submit" name="sub" value="upload"> </form> </body> </html>
<?php echo '<pre>'; print_r($_POST); print_r($_FILES); echo '</pre>'; ?>