Re: Large file upload - Mailing list pgsql-php

From jco@cornelius-olsen.dk
Subject Re: Large file upload
Date
Msg-id OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk
Whole thread Raw
In response to Large file upload  ("Kelvin Varst" <kelvin@varst.dk>)
Responses Re: Large file upload
List 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

pgsql-php by date:

Previous
From: angelo.rigo@globo.com
Date:
Subject: forms /selects
Next
From: jco@cornelius-olsen.dk
Date:
Subject: Re: forms /selects