472,145 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 5469
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 Saiars | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.