Re: Quickform suggestion

From: Date: Wed, 23 Apr 2003 13:16:08 +0000
Subject: Re: Quickform suggestion
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15384@lists.php.net to get a copy of this message
Am Wed, 23 Apr 2003 14:41:43 +0200 schrieb Bertrand Mansion <bmansion@mamasam.com>: > > However, there´s one more issue I´ve just stumbled upon when trying > > out the file upload feature - there doesn´t seem to be a built-in way > > to retrieve the original name of a file. > > > > With normal text fields, I can do something like this to get the contents: > > > > $content = $form->getElementValue('myElement'); > > $form->getUploadedFile('myFileField'); Hi Bertrand, according to the inline docs this returns the temporary name of the uploaded file. What I´m looking for is the "real" name :-) > > Also, is there some method that simply returns the same data array > > that a callback function would receive as its parameter? > > $form->process('myFunction'); Err, no :-) What I´m looking for is a method that simply *returns* the same array that a callback function would receive, but that doesn´t actually call a callback function. Thanks for answering anyway :-) Regards, Markus -- *21st Media* | Consulting, Konzeption, Produktion für die Bereiche: Markus Wolff | Internet, Intranet, eCommerce, Content Management, Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming http://21st.de | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1

« previous php.pear.dev (#15384) next »