try adding this code at line 1:
<?php
set_time_limit(0);
/>
there are a number of PHP.ini settings that may need to be adjusted depending on the size of the files you are uploading.
see the following page for details on settings that effect file upload size:
wap_upload.asp?page=php2