logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Bug in HTML_OOH_Forms?: msg#00196

Subject: Bug in HTML_OOH_Forms?
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


-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>