php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17041 ereg error
Submitted: 2002-05-06 09:00 UTC Modified: 2002-05-06 09:02 UTC
From: smythe at bigpond dot net dot au Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.2 OS: Win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 3 = ?
Subscribe to this entry?

 
 [2002-05-06 09:00 UTC] smythe at bigpond dot net dot au
if(eregi("([\/]{3})", $PHP_SELF))..
isnt working??

i want to be able to do, 
if $PHP_SELF has 3 forward slashes (/) then set a varible

Thanks
Smythe.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-06 09:00 UTC] smythe at bigpond dot net dot au
if(ereg("([\/]{3})", $PHP_SELF))..
isnt working??

i want to be able to do, 
if $PHP_SELF has 3 forward slashes (/) then set a varible

Thanks
Smythe.
 [2002-05-06 09:02 UTC] mfischer@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 20:01:35 2024 UTC