Most of us (Web Developer) use JQuery during the development, if you are not aware about the jQuery or interested in any other JavaScript Library then below is just a very quick overview about the jQuery. “jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation,…
Share your WordPress post on facebook & other social networking website. If you want to share your WordPress page URL on social networking website, it’s very simple to do. Just place this function in your functions.php file, and call the function where do you want it to show. You can also use this function in…
Environment variables windows Environment variables are a set of dynamic named values that can affect the way running processes will behave on a computer. You can say, It is a dynamic “object” that stores a value, which in turn can be referenced by one or more software programs in Windows (OS). Environment variables…
Get live currency rates in PHP & conversion using APIs In the below method, we get live currency rates from Google. This function uses CURL so make sure you have enabled curl extension in php. Google has an inbuilt calculator which can also be used for converting a currency into another.Doing so is really…
Block access to files using htaccess 1. Block access to .htaccess file Add the following code block to your htaccess file to add an extra layer of security.Any attempts to access the htaccess file will result in a 403 error message.Your first layer of security to protect htaccess files involves permissions via CHMOD to 644.…
Definition of .htaccess Regex Characters & htaccess regular expression special characters # The # instructs the server to ignore the line. It is used for including comments. Each line of comments requires its own #. When including comments, it is good practice to use only letters, numbers, dashes, and underscores. This will help eliminate/avoid…