Slim Framework: missing Authorization header in Apache server phptuts July 8, 2019 You can’t get Authorization header in Apache server: You can get this header with this method: But when you use oauth2-client you can’t use that… Continue Reading
How to flush DNS cache on Windows phptuts June 12, 2019 You also like: How to flush DNS cache on CentOS How to flush DNS cache on Windows? Step 1: With Windows XP: Start, Run and… Continue Reading
How to allow cross-origin ajax request get and set cookie phptuts June 11, 2019 How to allow cross-origin ajax request get and set cookie? Step 1: send header Access-Control-Allow-Credentials: true Example for PHP: Step 2: set header Access-Control-Allow-Origin: http://yourdomain.com… Continue Reading
Enable Remote Access To MySQL / MariaDB Databases on Linux phptuts May 30, 2019 By default, MySQL or MariaDB only listens for connections from the localhost. All remote access to the server is denied by default. Step 1: To… Continue Reading
How to fix error in WordPress: redirected you too many times phptuts May 5, 2019 How to fix error in WordPress: redirected you too many times This error orcurs when you use CloudFlare with SSL. Simple: add some lines in… Continue Reading
Example: jQuery UI Draggable with Handle and Cancel phptuts March 7, 2019 HTML CSS: JAVASCRIPT: Live Example: http://jsfiddle.net/sans_amour/dcn16tq9/ Continue Reading
jQuery: how to check if event exists on element phptuts February 20, 2019 Get all events registered by jQuery: Example: Check if event exists on element: Example: Continue Reading
How to build your custom GCC on CentOS phptuts January 18, 2019 You can build any GCC version listed here. Example: you want to build GCC 6.5.0 Step 1: download source code Result: Step 2: unpack the… Continue Reading
Git error: fatal: HTTP request failed phptuts January 18, 2019 If you get error like: Fix: Done! Continue Reading
How to reset MySQL root password on Linux phptuts January 18, 2019 You forgot or you unknow your root MYSQL password! How to reset MariaDb root password on Linux? Step 1: stop mysqld Result: Step 2: Result:… Continue Reading