Re: Large file upload

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: jco(at)cornelius-olsen(dot)dk
Cc: Postgresql PHP <pgsql-php(at)postgresql(dot)org>
Subject: Re: Large file upload
Date: 2002-12-10 14:16:54
Message-ID: Pine.BSF.4.44.0212100915350.18634-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Tue, 10 Dec 2002 jco(at)cornelius-olsen(dot)dk wrote:

> 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.

Not sure if it will or not. I used it recently for a similar problem
but right now I don't recall if it was for an upload or something else.

Vince.
--
Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/
http://www.meanstreamradio.com http://www.unknown-artists.com
Internet radio: It's not file sharing, it's just radio.

In response to

Browse pgsql-php by date

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