Tag Archives: .htaccess

000webhost : prevent inserting no use additional backslash


At 000webhost, backslash is inserted where it should not be, when you insert data to database with php.

You can prevent it by adding some setting.

make magic_quotes_gpc off when you make a file “.htaccess” in the directory where you want to do it and write

You can check magic_quotes_gpc in php code by executing get_magic_quotes_gpc