Re: Large file upload

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема Re: Large file upload
Дата
Msg-id Pine.BSF.4.44.0212101519430.23761-100000@paprika.michvhf.com
обсуждение исходный текст
Ответ на Re: Large file upload  ("Kelvin Varst" <kelvin@varst.dk>)
Список pgsql-php
On Tue, 10 Dec 2002, Kelvin Varst wrote:

>
> Hi,
>
> The upload takes more than 30 seconds, but I get the error immediately. I
> dont think that the webserver is aware of the page will take longer than 30
> seconds to upload and therefore sends an error at the beginning of the
> upload.

I seem to have trimmed the message out.  What exactly does the message
say and what server and browser are you using?


>
> Kelvin :-)
>
> -----Oprindelig meddelelse-----
> Fra: Vince Vielhaber [mailto:vev@michvhf.com]
> Sendt: 10. december 2002 12:41
> Til: Kelvin Varst
> Cc: Postgresql PHP
> Emne: Re: [PHP] Large file upload
>
>
>
> On Tue, 10 Dec 2002, Kelvin Varst wrote:
>
> >
> > Hi,
> >
> > I'm trying to upload large files via my homepage. I'm using a form:
> >     print "<form enctype=\"multipart/form-data\"
> action=\"approve_element.php\"
> > method=\"POST\">";
> >
> > And with files up to approx 500kb it works. But with larger files, the
> > browser can't find the page, and if I refresh the page, I get some query
> > errors. In the php.ini the post_max_size is set to 8M.
>
> 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.
> --
>  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.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


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.


В списке pgsql-php по дате отправления:

Предыдущее
От: jco@cornelius-olsen.dk
Дата:
Сообщение: Re: Large file upload
Следующее
От: "Francisco Mosse - (Zivals)"
Дата:
Сообщение: Help...