Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] Problem: ereg doesn't work ok (?). From: * R&zE: (renze <email protected>)
Date: 09/26/01

> I noticed something I haven't before: I'm generating a RPM for php-4.0.6
> which is what I'm installing, but using the .spec file from the 4.0.4
> which comes with RedHat. Well, in the configure it had
> --with-regex=system. I removed this option, recompiled, and the regex'es
> seem to be working fine now. The --with-regex=system comes by default in
> the RedHat RPM for PHP.

Ah. Glad the problem is solved. Otherwise it would be a *strange*
problem!

> Thank you.
> Rodolfo.
>
> P.S.
> > $yesternews = date("Y-m-d", mktime(0,0,0,$regs[2],$regs[3]-1,$regs[1]));
>
> Indeed. Cool, thanks :)

UR welcome.

-- 

* R&zE:

-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze <email protected> -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>