HTML_OOH_Forms bug?
| From: | Georg Bez | Date: | Tue, 28 May 2002 17:57:13 +0000 |
| Subject: | HTML_OOH_Forms bug? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6576@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