Re: [PHP] Redhat 7 problem and fix

2001-01-16 Thread Michael Kimsal
Newsgroups: php.general Sent: Thursday, January 11, 2001 9:08 AM Subject: [PHP] Redhat 7 problem and fix We upgraded a box running RH6.2 to RH7. Same build process for PHP as before, but the ereg functions didn't work the same. ereg_replace("{cow}",$cow,$x); now needs to be

[PHP] Redhat 7 problem and fix

2001-01-11 Thread Michael Kimsal
We upgraded a box running RH6.2 to RH7. Same build process for PHP as before, but the ereg functions didn't work the same. ereg_replace("{cow}",$cow,$x); now needs to be ereg_replace("\{cow\}",$cow,$x); The {} are escaped now. Dunno what changed 'under the hood', but the only change we made