Cache web pages easily with PHP
If you want to serve pages quickly and without using a lot of resources from the webserver to your users you need to code efficiently. One of the ways to do it is to use…
Read article: Cache web pages easily with PHPIf you want to serve pages quickly and without using a lot of resources from the webserver to your users you need to code efficiently. One of the ways to do it is to use…
Read article: Cache web pages easily with PHPSometimes, we need to implement an external HTML code or specify HTML by design inside a WordPress page. When we use the text editor of WordPress we have the option to do just that, but…
Read article: WordPress changes HTML code of the pageEven though Base64 encoding is not an encryption, sometimes it can be useful to pass data or parameters in a single string.
Read article: Use Base64 to pass parameters in URL with PHPRecently I built a PHP script for dynamically downloading files, and I came across the need to provide the right Mime-Type for each file I set to download. I wrote a function in PHP that…
Read article: Get Mime-Type by file extension in PHPFirst of all, what is “Cookie Hijacking”? By Wikipedia, it’s an “exploitation of a valid computer session to gain unauthorized access to information or services in a computer system. In particular, it is used to…
Read article: Prevent cookie hijacking (session hacking)If you can’t find the list of page templates in the page editor on WordPress try this quick fix that will probably help.
Read article: Quick Tip: WordPress template drop-down list is missingA quick and easy way to prevent specific resources from being cached by sending the correct headers in .htaccess file.
Read article: Quick Tip: prevent caching of resources using .htaccessSending an email is probably the most convenient way of communicating data or informing us of an event from our ESP8266. It’s cross-platform, works on every device and very reliable. It can alert us when one…
Read article: Send Email on ESP8266 with ArduinoHandling resources, redirects and other operations is very easy and useful using the .htaccess file of Apache web server. Sometimes, we want to block or redirect traffic based on its network IP address. But what to…
Read article: Quick Tip: {REMOTE_ADDR} behind proxy or Firewall .htaccessWordPress is a very popular platform, and I have had many WordPress installations over the years (even this site is based on it). Being that popular has made this platform a target for many hackers. And…
Read article: Add two-step authentication to WordPress