Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 750BB475FF9 for ; Tue, 10 Dec 2002 08:58:09 -0500 (EST) Received: from cornelius-olsen.dk (0x50c4f773.arcnxx7.adsl-dhcp.tele.dk [80.196.247.115]) by postgresql.org (Postfix) with ESMTP id 335AF47649C for ; Tue, 10 Dec 2002 08:57:16 -0500 (EST) To: Vince Vielhaber Cc: Postgresql PHP Subject: Re: Large file upload MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.9 November 16, 2001 Message-ID: From: jco@cornelius-olsen.dk Date: Tue, 10 Dec 2002 14:56:40 +0100 X-MIMETrack: Serialize by Router on sonic/cgroup(Release 5.0.11 |July 24, 2002) at 12/10/2002 02:56:45 PM, Serialize complete at 12/10/2002 02:56:45 PM Content-Type: multipart/alternative; boundary="=_alternative 004CA5A5C1256C8B_=" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/23 X-Sequence-Number: 1698 This is a multipart message in MIME format. --=_alternative 004CA5A5C1256C8B_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If it's taking longer than about 25-30 seconds you could be timing out. Try putting set_time_limit(0) at the top of the script. If it works you might want to try replacing the 0 with a reasonable time limit. The time is in seconds. Vince. Are you sure that would work? I may be wrong, but my gues would be that=20 the "set_time_limit(0)" would not be evaluated until the posted file has=20 been received and then the php starts executing. I would think that one=20 has to change a php-setting hard. /J=F8rn Cornelius Olsen --=_alternative 004CA5A5C1256C8B_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
If it's taking longer than about 25= -30 seconds you could be timing out.
Try putting set_time_limit(0) at the top of the script.  If it works y= ou
might want to try replacing the 0 with a reasonable time limit.  The t= ime
is in seconds.

Vince.


Are you sure that would work? I may= be wrong, but my gues would be that the "set_time_limit(0)" woul= d not be evaluated until the posted file has been received and then the php= starts executing. I would think that one has to change a php-setting hard.=

/J=F8rn Cornelius Olsen --=_alternative 004CA5A5C1256C8B_=--