How to set allow_url_include Off through a PHP file

Discussion in 'PHP' started by larryj92, Nov 19, 2011.

  1. #1
    Guys I want to set allow_url_include Off through my index.php file.
    I tried to use this but it dint work for me:
    ini_set('allow_url_include', "0");

    Can anyone please help me to get this working.
     
    larryj92, Nov 19, 2011 IP
  2. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #2
    If ini_set doesn't work, then your host is blocking it.

    Why can't you just... not put URLs in include? lol
     
    subdivisions, Nov 19, 2011 IP