Re: Large file upload

From: jco(at)cornelius-olsen(dot)dk
To: Vince Vielhaber <vev(at)michvhf(dot)com>
Cc: Postgresql PHP <pgsql-php(at)postgresql(dot)org>
Subject: Re: Large file upload
Date: 2002-12-10 13:56:40
Message-ID: OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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
the "set_time_limit(0)" would 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ørn Cornelius Olsen

Responses

Browse pgsql-php by date

  From Date Subject
Next Message jco 2002-12-10 14:03:33 Re: forms /selects
Previous Message angelo.rigo 2002-12-10 12:29:38 forms /selects