469,658 Members | 1,844 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,658 developers. It's quick & easy.

How do I disable magic_quotes_gpc in .htaccess?

Hi, My current .htaccess file contains this:
Expand|Select|Wrap|Line Numbers
  1. # -FrontPage-
  2.  
  3. IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
  4.  
  5. <Limit GET POST>
  6. order deny,allow
  7. deny from all
  8. allow from all
  9. </Limit>
  10. <Limit PUT DELETE>
  11. order deny,allow
  12. deny from all
  13. </Limit>
  14. AuthName www.aiesinc.com
  15. AuthUserFile /home/aiesi2/public_html/_vti_pvt/service.pwd
  16. AuthGroupFile /home/aiesi2/public_html/_vti_pvt/service.grp
  17.  
and I know that I need to add something about disabling magic_qutes_gpc in there (for all directories is fine) but I don't know what or where or how to add it...?? Can anyone please offer some advice? Thanks!!
Sep 24 '07 #1
2 5352
Atli
5,058 Expert 4TB
Hi. Welcome to The Scripts!

You could try something like:
php_flag magic_quotes_gpc off

Or:
php_value magic_quotes_gpc off
Sep 24 '07 #2
pbmods
5,821 Expert 4TB
Heya, slow2fear.

Please use CODE tags when posting source code:

[CODE=apache]
Apache configuration goes here.
[/CODE]
Sep 25 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by AmigaLemming | last post: by
1 post views Thread by yawnmoth | last post: by
8 posts views Thread by Joshua Beall | last post: by
4 posts views Thread by Ivo | last post: by
7 posts views Thread by John | last post: by
reply views Thread by Jack Hambabo | last post: by
2 posts views Thread by hermanh128 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.