From: sharmad@softhome.net
To: PostgreSQL-PHP <pgsql-php@postgresql.org>
Subject: Re: Large file upload
Date: Tue, 10 Dec 2002 03:30:45 -0700
Message-ID: <courier.3DF5C255.00006008@softhome.net> (raw)
In-Reply-To: <NDBBJEKICKIBAAGMLICDAEMFCKAA.kelvin@varst.dk>
References: <NDBBJEKICKIBAAGMLICDAEMFCKAA.kelvin@varst.dk>
Thanks everyone,
The problem was lying in the hostname not specified which php as usual
wouldn't tell me
pg_connect("host=$rr dbname=$rr user=$rr");
Thanks
Sharmad
Kelvin Varst writes:
>
> 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.
>
> Kelvin :-)
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
Feel free to contact me (flames about my english and the useless of this
driver will be redirected to /dev/null, oh no, it's full...). (Michael
Beck, describing the PC-speaker sound device)
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: sharmad@softhome.net
Subject: Re: Large file upload
In-Reply-To: <courier.3DF5C255.00006008@softhome.net>
References: <NDBBJEKICKIBAAGMLICDAEMFCKAA.kelvin@varst.dk> <courier.3DF5C255.00006008@softhome.net>
* 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