now already I can see the light
  thanks for your help,

  Denyl.

----- Original Message ----- 
From: "John Nichel" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Wednesday, January 25, 2006 8:30 AM
Subject: Re: [PHP] function preg_match()


> Denyl Meneses Guillén wrote:
> > sorry , what is PCRE ?
> > I looking my configuration with phpinfo() and not exist PCRE or similar
.
>
> http://us2.php.net/pcre
>
> > I'm using PHPmailer and and inside it calls to function preg_match , but
i
> > want to run a simple example
> >
> > ...:: denyl.php
> >
> > <?php
> > $subject = "abcdef";
> > $pattern = '/^def/';
> > preg_match($pattern, $subject, $matches, PREG_OFFSET_CAPTURE, 3);
> > print_r($matches);
> > ?>
> >
> > and I get this :
> >
> > Fatal error: Call to undefined function preg_match() in
> > /usr/local/apache133/htdocs/denyl.php on line 4
> >
> > my phpinfo() is :
> > http://www.olvacourier.com/php.php
> >
> > Thanks,
> > Denyl.
> >
> >
> > ----- Original Message ----- 
> > From: "Melanie Maddix" <[EMAIL PROTECTED]>
> > To: "Denyl Meneses Guillén" <[EMAIL PROTECTED]>;
> > <php-general@lists.php.net>
> > Sent: Wednesday, January 25, 2006 7:56 AM
> > Subject: RE: [PHP] function preg_match()
> >
> >
> > [snip]
> > When I try to use preg_match(), I get this...
> >
> > Fatal error: Call to undefined function preg_match() in
> > /usr/home/www/library/defines.php on line 25
> > [/snip]
> >
> > Do you get the error with all PCRE functions?
> >
> > Take a look at your PCRE settings using phpinfo().
> >
> >
> >
>
>
> -- 
> John C. Nichel IV
> Programmer/System Admin (ÜberGeek)
> Dot Com Holdings of Buffalo
> 716.856.9675
> [EMAIL PROTECTED]
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.22/238 - Release Date:
23/01/2006
>
>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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

Reply via email to