Grant remote access of MySQL database

Grant remote access of MySQL database If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below. $ mysql -h 192.168.1.8 -u root -p Enter password: ERROR 1130: Host ‘192.168.1.4’ is not allowed […]

How to Enable Magic Quotes using .htaccess file

Enable Magic Quotes using .htaccess file The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Providing your server is configured to allow .htaccess files, adding the following line will effectively turn off Magic Quotes: If your PHP script […]

How to Disabling Magic Quotes using .htaccess file

Disabling Magic Quotes using .htaccess file   The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Providing your server is configured to allow .htaccess files, adding the following line will effectively turn off Magic Quotes: 1. Login into […]