Re: [PHP] ereg works in .php, not in .inc

2001-01-13 Thread Richard Lynch
Do you have in your .inc file?... - Original Message - From: Ted Goranson <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Saturday, January 13, 2001 12:35 AM Subject: [PHP] ereg works in .php, not in .inc > Friends-- > > I have a script that processes another script

[PHP] ereg works in .php, not in .inc

2001-01-12 Thread Ted Goranson
Friends-- I have a script that processes another script for display. I change all variables named similar to "$Help1x1" to Help: The following line accomplishes this readily when used in a .php suffixed script when called directly from browser. $content = ereg_replace ("[\$]Help[0-9]x[a-z]? =