Re: File uploading
| From: | Jeff P | Date: | Mon, 08 Jan 2001 04:38:23 +0000 |
| Subject: | Re: File uploading | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33179@lists.php.net to get a copy of this message | ||
> I'm using Linux 6.2 server, apache + php3 + mysql.
> I've just finished writing a web based file management system for an intranet, whereby
> clients upload/delete files to the server from a web page, and the php inputs the file info into a
> database (mysql), and automatically creates/deletes directories on the server, where it will then
> upload the file. Everything works great so far except for one serious problem: I'm using the
> "copy" command, which copies(uploads) from the client to a /tmp first, and then copies
> from there to the appropriate directory. The problem is that, apparently, there is a 2 Mb file size
> limitation for doing this. Does anyone out there have a way around this ? Clients very often upload
> excel, power point, and other files that greatly exceed the 2 Mb limit.
> Any help is greatly appreciated.
Look at MAX_FILE_SIZE and upload_max_filesize --
you'll need to set it larger than the default 2 MB
in your php.ini file.
best,
Jeff