[PHP-DB] Upload_File

2010-02-10 Thread Bilal Ahmad
Hi I am trying to make a form to provide option to user to upload a file on a server.Here is the code for my upload.php. It checks all the conditions etc.. . This code works fine on localhost , and file is uploaded successfully. But when I use this script online on my server, it gives me error.

Re: [PHP-DB] Upload_File

2010-02-10 Thread Gunawan Wibisono
u should type the error here and attach the file not type in msgbox below what permision for upload folder? On Wed, Feb 10, 2010 at 6:16 PM, Bilal Ahmad engg.bilalma...@googlemail.com wrote: Hi I am trying to make a form to provide option to user to upload a file on a server.Here is the code

Re: [PHP-DB] Upload_File

2010-02-10 Thread Eric Lee
On Wed, Feb 10, 2010 at 7:35 PM, Gunawan Wibisono landavi...@gmail.comwrote: u should type the error here and attach the file not type in msgbox below what permision for upload folder? On Wed, Feb 10, 2010 at 6:16 PM, Bilal Ahmad engg.bilalma...@googlemail.com wrote: Hi I am trying

Re: [PHP-DB] Upload_File

2010-02-10 Thread Chaitanya Yanamadala
hai farooq I think the issue is with the max_execution_time in the php.ini of the server. try modifying this to the maximum level. also for your code i have modified this a little bit.. *form enctype=multipart/form-data action=upload.php method=POST input type=hidden name=MAX_FILE_SIZE