Thanks for all of your helping. I think now maybe it's not the serve's problem because I CAN post forms and even I can upload some smaller size files. Then the following is my problem: This is the script of " justtest.php" : justtest.php <?php if (is_uploaded_file($_FILES["upload"]['tmp_name'])) { $full_path = "D:/xxx/xxx.pdf"; move_uploaded_file($_FILES["upload"]['tmp_name'], "$full_path"); } ?> <form action='justtest.php' enctype='multipart/form-data' method='post'> <input type='file' name='upload'> <input type='submit' value='upload'> I can upload a file of size 7KB, but when I want to upload a file of 20 or 30MB, it says : Fatal error: Maximum execution time of 30 seconds exceeded in justtest.php on line 2 That means it took too long time to upload? But when I add some function to this script something like this: <?php set_time_limit(0); if (is_uploaded_file($_FILES["upload"]['tmp_name'])) { $full_path = "D:/xxx/xxx.pdf"; move_uploaded_file($_FILES["upload"]['tmp_name'], "$full_path") ; } set_time_limit(0); ?> <form action='justtest.php' enctype='multipart/form-data' method='post'> <input type='file' name='upload'> <input type='submit' value='upload'> I add "two" set_time_limit(0) but when I want to upload a file of 20or 30MB, it still shows: Fatal error: Maximum execution time of 30 seconds exceeded in justtest.php on line 2 the same line? So the POST action didn't complete? I don't understand. (AND I can upload a file of 7KB successfully without any problems) The following is some settings in the php.ini: post_max_size 200M upload_max_filesize 200M memory_limit 200M max_execution_time 30 max_input_time 60 And is there anything I should set? BTW, if I put this php file on OTHER server whose settings like this: post_max_size 100M upload_max_filesize 100M memory_limit 8M max_execution_time 30 max_input_time 60 It can work well, no matter the filesize is 30MB or 7KB. So I just wonder what I should do to solve this problem. (now I think it's not the hub's fault) Thanks. "Lee Chen" <isiah@xxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D :20050515160919.50356.qmail@xxxxxxxxxxxxxxxx > If the server uses hub ( to make more computer connect online), can' I > upload files > to that server?? > > I face a problem like this , and I think that's the hub causing this > problem. > Did it? > > or if I can do something to solve this problem? > > (btw I am the administrator of that server. I can do anything on that > server) > > Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php