 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| 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 |
|
| |
|