Re: QuickForm set no values

From: Date: Fri, 31 May 2002 11:37:30 +0000
Subject: Re: QuickForm set no values
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1543@lists.php.net to get a copy of this message
le 31/05/02 12:43, Georg Bez à georgbez@web.de a écrit : > Hi, > > I have copy the samples to my linux server and run the > QuickForm_example.php > give this error back: > Fatal error: Call to undefined function: setsize() in > [...]/QuickForm_example.php on line 40 > > The QuickForm_example2.php sample run full. > > Danke for your patience with me. > > Georg Georg, The example works fine for me, sorry. This is what I suggest: 1. change this in your previous code: if ( isset($_GET['cid']) ) $form->addElement('hidden', 'cid', $_GET['cid']); $form->addElement('file', 'image_file', 'Bilddatei:'); if ( isset($image_src) ) $form->addElement('image', 'image_src', $image_src); 2. Do you have a recent version of HTML_Common installed ? If not, this is probably where your problem comes from. Tell me which version you use. I will add the dependency info in the next package release to avoid this issues. Let me know how it goes. Bertrand Mansion Mamasam

« previous php.pear.general (#1543) next »