Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2012
    Posts
    145
    Plugin Contributions
    0

    Default what is this code used for

    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }

    it display in many php files

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,966
    Plugin Contributions
    1

    Default Re: what is this code used for

    It means that you need to be logged on as the server admin before the page can be displayed.

    Cheers
    Rod
    New support site for the ozpost shipping module now live!

  3. #3
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,916
    Plugin Contributions
    3

    Default Re: what is this code used for

    Quote Originally Posted by linjuming View Post
    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }

    it display in many php files
    It prevents illegal access to your admin area...

    Don't fuss over it...
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  4. #4
    Join Date
    Apr 2012
    Posts
    145
    Plugin Contributions
    0

    Default Re: what is this code used for

    thank you very much

 

 

Similar Threads

  1. What Coupon Code was used?
    By sportrecovery in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 1
    Last Post: 16 Feb 2012, 02:55 PM
  2. wHAT DOES THIS ERROR CODE MEAN AND HOW WOULD I FIX THIS?
    By Snaggle in forum General Questions
    Replies: 2
    Last Post: 15 Jun 2011, 10:27 PM
  3. Can someone tell me what add on was used on this site to create this zoom effect?
    By strugglingnovice in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 10:59 PM
  4. “zc_install/sql/plugins” What is this folder used for???
    By IllusionGuy in forum General Questions
    Replies: 4
    Last Post: 17 Nov 2007, 09:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •