Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

PEAR - PECL - Fatal Error - Call to Undefined Function
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad General
View previous topic :: View next topic  
Author Message
mabrams_us



Joined: 11 Jun 2007
Posts: 2

Posted: Tue Jun 12, 2007 1:19 pm    Post subject: PEAR - PECL - Fatal Error - Call to Undefined Function  

I'm on WIN XP / ApacheTriad - I would like to use the PECL email filter:

<?php $email = "someone@exa mple.com";if(!filter_var($email, FILTER_VALIDATE_EMAIL))
{ echo "E-mail is not valid"; }else { echo "E-mail is valid"; }?>

I ran the Windows ApacheTriad install and the PEAR library is installed. I don't know how to access any PEAR functions. I read that PECL is a sub library of PEAR.

I have gone to the http://pecl.php.net/support.php
No instructions for a WINDOWS install or config ...

Can any one help?
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Sat Aug 04, 2007 11:48 am    Post subject:  

you need http://pecl.php.net/package/filter package , a2t does not have it by default , but you can use pear to install it , open a console and type pear
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad General
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group