Re: Re: File Upload - post_max_size and upload_max_filesize in GBs
| From: | Stut | Date: | Fri, 08 Jun 2007 19:43:33 +0000 |
| Subject: | Re: Re: File Upload - post_max_size and upload_max_filesize in GBs | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256385@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote:The name of the uploaded file is all it would need to connect the two events.Stut, thank you very much for explaining things and trying to help.If it tried to upload and then do a separate POST, then you'd have no way to connect the two events, as HTTP is stateless.The applet *does* POST to PHP. However, it has the option to upload to an FTP server.... "the choice of using HTTP, HTTPS or FTP connections for your transfer" (from the website).So it seems applet posts complete data to that php file handling script (rather php engine),*as soon as upload button is clicked*, rather than uploading first and then posting to php. That is the reason for name phpxx.tmp of temporary file.
Or, rather, you'd need to overlay some kind of protocol on top of HTTP that would maintain the state to tie the upload to the POST.If by protocol you mean pass an identifier in the POST to tell it what file it relates to, then yes. And that identifier would be the filename. -Stut