What may be wrong with ereg...
| From: | Sylwester Zarębski | Date: | Thu, 14 Dec 2000 12:56:17 +0000 |
| Subject: | What may be wrong with ereg... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30286@lists.php.net to get a copy of this message | ||
Hi!
What may be wrong with regular expression, if ereg show warning:
"PHP Warning: REG_EESCAPE in /my_file.php in line xxx" ???
My ereg expression is:
ereg ( "/|\.\./|\\/", $HTTP_POST_FILES [ "filename" ] [ "name" ] )
May this be slashes ('/') ?? Have I to quote them with backslashes ??
--
pozdrawiam..
## ## | Sylwester Zarębski - ISP Group |
#### ## | e-mail: sylwek@isp.net.pl |
## ## ## | ICQ uin: #45780888 |
## #### ## | Administrator ISP.NET.PL |