pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jco@cornelius-olsen.dk
To: Vince Vielhaber <vev@michvhf.com>
Cc: Postgresql PHP <pgsql-php@postgresql.org>
Subject: Re: Large file upload
Date: Tue, 10 Dec 2002 14:56:40 +0100
Message-ID: <OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk> (raw)

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

view thread (8+ messages)  latest in thread

Message-ID: <OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk>
Permalink:  ../OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk/
Also on:    postgresql.org/message-id/OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: jco@cornelius-olsen.dk, vev@michvhf.com
  Subject: Re: Large file upload
  In-Reply-To: <OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk>
  References: <OFC1C42EEB.C10FACDB-ONC1256C8B.004C2775@dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox