eina_227
11-29-2004, 12:32 AM
hai frenz....thank to who reply my thread b4..anyway i got another problem..i have created an upload file and it works. but my prob is when i try to upload the file that exceed the limit size, it still appear that the uploading process succesfull and the data appear at the table but with no file name and file size are 0.. what happen actually?i dont know how to solve it..please help me...i try many solution but it not works..
<html>
<head>
<title>Title here!</title>
</head>
<body>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="2M">
Select a file to upload! <input type="file" name="userfile"><br>
<input type="submit" value="Upload!">
</form>
</body>
</html>
<html>
<head>
<title>Title here!</title>
</head>
<body>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="2M">
Select a file to upload! <input type="file" name="userfile"><br>
<input type="submit" value="Upload!">
</form>
</body>
</html>