In article <p04320407b6e35b98ce1b@[209.246.86.33]>,
[EMAIL PROTECTED] (Kristofer Widholm) wrote:
> Warning: Bad escape sequence: \. in validate.inc.php on line 142
>
> CODE:
> Line 142: if (!eregi("index\.php",$PHP_SELF)) {
> blah blah blah;
> }
>
> I didn't know there was any other escape sequence possible in RegEx!
In a way, there is another "escape": using square braces.
eregi("index[.]php",$PHP_SELF)
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]