Category Archives: PHP

Apache cookie authentication

There’s a module that let’s you authenticate via any auth method (basic auth, ldap, etc…) to specific locations, you can also set an expiration time on the cookie, so when the time expire the user will be redirected to the … Continue reading

Posted in Apache, Linux, Misc, PHP, Security | Leave a comment

PHP Warning: mysql_connect(): client does not support authentication protocol

If you are working with a newer version of MySQL and an older version of PHP, you might encounter this error, when you try to establish the connection:

Posted in Databases, MySQL, PHP | Tagged , , | Leave a comment