logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

04
DAYS
23
HOURS
31
MINUTES
55
SECONDS
Black Friday Sale: Web Hosting
From $0.80 /Month!
See All Deals
×

Knowledge base

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How to disable magic quotes? (by using .htaccess)

Modified on:
magic quote magic_quotes_gpc magic_quotes

The magic_quotes_gpc directive can be disabled by adding this line to your .htaccess file in the directory, where you want the magic_quotes disabled:

php_flag magic_quotes_gpc off

.htaccess file is located in your public_html folder, on your FTP.