Re: File upload problem

From: Date: Tue, 07 May 2002 19:50:36 +0000
Subject: Re: File upload problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-96480@lists.php.net to get a copy of this message
On Tuesday 07 May 2002 23:42, Linn Kubler wrote: > I put the max file size tag into my code but that didn't help either. What > looks like is happening is that the php file can't be found. I'm using > phpscriptcenter's upload.php program and it is all in one script, if you > know what I mean. > > What I'm seeing now is that, depending on the size of the file that I > select to upload, it doesn't look like the form is being processed > correctly. I changed the action of the form to point to a simple html file > and I get the same results, page cannot be displayed. But this only > happens when I pick a file that's 15MB or larger, pick a file that's > smaller, in this case a few KB, and it works as expected. Not sure what to > look for next. Older versions of php stores the whole file in memory before writing to disk. Thus you should check the "memory_limit" setting in php.ini. And also check that the "post_max_size" is not too low. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Under any conditions, anywhere, whatever you are doing, there is some ordinance under which you can be booked. -- Robert D. Sprecht, Rand Corp. */

« previous php.general (#96480) next »