So we are using the GeoPlugin API to retrieve the Country code. You can also get the full country name, state, city, continent and some other stuff. Here is a simple dump of the data returned from the site:
["geoplugin_credit"]=>string(145)"Some of the returned data includes GeoLite data created by MaxMind, available from http://www.maxmind.com."
Error happens after the whole file is uploaded (we lifted the post-size and file upload limits). Solution that helped me: nano /etc/apache2/mods-available/fcgid.conf add this: FcgidMaxRequestLen 1073741824 or edit MaxRequestLen to a higher value. Then restart: service apache2 restart
# Basic commands to get you started in using Git via console # Дълъг документ, който да ви накара да оцените какво GitHub for Windows прави за вас 😉 Commands to navigate in the console pwd print working directory cd change directory. Използвайте кавички ако в името има интервал cd Users cd “Program files” mkdir […]
Whenever you want to ban/prevent hotlinking your media files and protect your server’s resources and bandwidth you may use the following snippet in the .htaccess file of your main directory of your site.
You have built a new client’s website and you want to change the WordPress logo on the login page (wp-login.php), well there is nothing more easy then this. Add the following code to your theme’s function.php.