View Single Post
  #47  
Old 11th October 2011, 17:03
cooly's Avatar
cooly cooly is offline
Senior Member
 
Join Date: Jun 2011
United Kingdom
Posts: 26
Default
Quote:
Originally Posted by Optix View Post
A preg_match here is like killing a fly with a bazooka.

stripos() is perfect here : fast and same behavior ;)

whatever suits :)

Code:
if (stripos('mysql.php',$_SERVER['PHP_SELF'])) {
    die;
}
hmm returning false.
Reply With Quote