+ Reply to Thread
Results 1 to 2 of 2

Thread: htaccess php_flag magic_quotes_gpc Off / php.ini in our web folder?

  1. #1
    tgkprog is offline x10 Sophmore tgkprog is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Bangalore India
    Posts
    225

    Question htaccess php_flag magic_quotes_gpc Off / php.ini in our web folder?

    i read online that we can add to the .htaccess file
    Code:
    php_flag magic_quotes_gpc Off
    but when i did so that folder was marked an an error - all pages have a 500 error

    i also read that you can place a file called php.ini in the same folder with
    Code:
    magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    this did not throw an error

    i wanted to know if that means this working? or whats a good way to do this?
    can i put a php.ini?
    the online page said that iniset function is not an option for this
    http://sel2in.com/ Java - Mobile, Website applications PHP, My SQL, VB6 & VBA http://www.thehungersite.com

  2. #2
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: htaccess php_flag magic_quotes_gpc Off / php.ini in our web folder?

    *moved to programming help*

+ Reply to Thread

Similar Threads

  1. HTACCESS Help
    By takuhii in forum Free Hosting
    Replies: 2
    Last Post: 09-30-2008, 03:35 PM
  2. how to password protect your folder
    By agaitu in forum Tutorials
    Replies: 6
    Last Post: 12-14-2007, 04:03 PM
  3. How to access a folder...
    By Rozer in forum Free Hosting
    Replies: 2
    Last Post: 06-13-2007, 03:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers