by kodeJ | May 19, 2020 | PHP
Need to know your visitor’s language? Detecting a browser’s language setting can quickly be accomplished with one line of PHP. Get Browser's Language using PHP PHP // this gets the Browser's Language $theLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'],...
by kodeJ | Apr 26, 2020 | JavaScript
Placing the following JavaScript code in a web page will cause it to automatically redirect to the address provided in the code. JavaScript Redirect JavaScript <script type='text/javascript'> window.location = 'https://kodej.com' </script> 1234567...
by kodeJ | Apr 14, 2020 | PHP
Do you want to know the IP address of your website visitors? The following PHP code sample below will show you the IP address of a web page visitor. You may use something as simple as this to start to track your visitors and site members. function...
by kodeJ | Apr 4, 2020 | WordPress
Ultimate Member is a powerful membership plugin for WordPress, which allows quick development of a membership website with membership only sections and restricted content. The core plugin is available for free, while several premium extension plugins are offered for...
by kodeJ | Apr 3, 2020 | Linux, WordPress
Earlier this week, I worked on a web application development project that required me to install WordPress on Amazon AWS EC2. The client requirements specified using CentOS. So I needed to create a new EC2 instance, install Apache, PHP, and MariaDB before installing...