Re: pass file data through forms

From: Date: Wed, 20 Nov 2002 16:06:38 +0000
Subject: Re: pass file data through forms
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-125251@lists.php.net to get a copy of this message
Hello, "??????? ?????ta?" <kouretas@vlsi.ee.upatras.gr> wrote: > Is there any way of submitting a file , pass all the data for it throuhg > another form and upload from another form? I'm not sure if I understand your question correctly but you can try using the sample code in the manual for uploading files. Then, instead of moving it to your desired folder, you can just move it first to a temporary folder. This way, if one decided to cancel/abort, you can just unlink() or do some cleaning up of the folder later on. (May not be the best way but I think it'll work...) Just use your imagination, you might just find a better way :) - E

« previous php.general (#125251) next »