Bug in HTML_OOH_Forms?
| From: | GeorgBez at gmx dot net | Date: | Wed, 29 May 2002 08:28:47 +0000 |
| Subject: | Bug in HTML_OOH_Forms? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1500@lists.php.net to get a copy of this message | ||
hi,
is this a bug?
Fatal error: Call to undefined function: validateregex() in
c:\php\pear\HTML_OOH_Form\elements\form_element_file.php on line 136
<code>
$f->addElement(
array (
"name" => "image_file",
"type" => "fileupload",
"size" => 10,
"maxfilesize" => 100,
#"accept" => "text/html",
"minlength" => 1,
"length_e" => "Provide a file",
"valid_regex" => "[gif|jpg|jpeg]$",
"valid_icase" => false,
"valid_e" => "Error"
)
);
</code>
I have played with upload element and found this.
Sorry for my bad english.
Georg
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net