THIS_SCRIPT
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #1
THIS_SCRIPT
When I write this:

PHP Code:
if(THIS_SCRIPT == 'private.php')
{
die(':-)');
}


A smiley face appears in my screen. But with this:

PHP Code:
if(defined('THIS_SCRIPT') && THIS_SCRIPT == 'private.php')
{
die(':-)');
}


It doesn't... may it be my server configuration or something? I don't get it...


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 08-01-2012 05:45 PM by Sama34.)
08-01-2012 05:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
THIS_SCRIPT - Sama34 - 08-01-2012 05:44 PM
RE: THIS_SCRIPT - ZiNgA BuRgA - 08-01-2012, 07:27 PM
RE: THIS_SCRIPT - Sama34 - 08-03-2012, 09:28 AM

 Standard Tools
Forum Jump: