Code
HOW to get visitor IP behind Cloudfare or Proxy
Normally we would use $_SERVER[‘REMOTE_ADDR’] but unfortunately, this doesn’t work with Cloudflare. This small...
Read articleFull Stack Engineer · 25+ products · 100,000+ users
Notes, how-tos and lessons from building for the web — mostly engineering, PHP and the things I learn shipping projects.
Code
Normally we would use $_SERVER[‘REMOTE_ADDR’] but unfortunately, this doesn’t work with Cloudflare. This small...
Read article
How To
There is a case when you require to add a value or key/value pair before a specific key in an array. Here’s th...
Read article
How To
There is a case when you require to add a value or key/value pair after a specific key in an array. Here’s the...
Read article
Code
There are times when you want others to know that you designed the specific WordPress theme or develop WordPre...
Read article
Code
As a plugin developer you feel frustrated when some other plugin will hijack your plugin screens with admin no...
Read article
Code
There are various scenarios in which you want to check whether the given value is present in array or not. So,...
Read article
Code
Today, when I went to take a screenshot of one admin screen, It also comes with “Admin Bar”. So, I realize tha...
Read article
Code
There are many scenarios where you want to get Active plugins, In Active plugins information programmatically...
Read article
Code
IP address: An Internet Protocol address (IP address) is a numerical label assigned to each device connected t...
Read articleThat’s my favourite kind of conversation. Tell me what you’re up against — let’s figure it out together.