SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2006
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    turning off register globals

    I read that putting this code in your .htaccess file turns off register globals, am I right?

    Code:
    php_flag register_globals off
    Order allow,deny
    Allow from all

  2. #2
    Non-Member
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Order allow,deny Allow from all
    doesnt do anything to the register globals (and actually theres no point in you having that there).

    The register globals is what turns it off. This could also be done in php.ini


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
  •