preg_match
| From: | James Lockie | Date: | Wed, 07 Feb 2007 01:46:09 +0000 |
| Subject: | preg_match | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248465@lists.php.net to get a copy of this message | ||
I am trying to use this code to display a button at the root but it always displays the button. :-(
if (! (preg_match( "/$\/index.php/", $_SERVER['PHP_SELF'] ))) {
# display a button
....