How to setup PHP CodeSniffer on Windows machine ?

In today’s tutorial, I am demonstrating how to setup PHP CodeSniffer on Windows machine. What is the importance of CodeSniffer in your daily programming life? As per PSR-2 standards, you have to keep your coding standard same across all the developers in the universe. So PSR-2 is a  common strict code style lets developers write […]

Continue

Better Way To Prevent Image Hotlinking with .htaccess

What is image hotlinking and how to prevent it? Image hotlinking – It is someone directly taking the image URL from your server and embedding it on their website. It’s kind of image stealing, but most importantly losing your bandwidth. Usually, you have to pay for the server bandwidth. When someone hotlinking the image in […]

Continue

Send form elements via ajax in jquery by serialize method

If you have a form with numerous fields and want to send those fields via ajax. Here comes the easy way, use the serialise in jQuery. Follow the examples var post_form:$(“#daily_checklist_form”).serialize(); $.ajax({ method: “POST”, url: “someurl.php”, data: { data:post_form } }) .done(function( msg ) { //alert( “Data Saved: ” + msg ); }); And next […]

Continue

SmartMenu : Responsive jQuery Mega Menu

SmartMenu is a user-friendly, highly customizable and responsive jQuery mega menu plugin. It allows you to use multiple menus with different sub menus. These days the mega menus are very  much popular as they can contain more data than conventional popup menu. Main Features Responsive design Horizontal (top, bottom) or Vertical (left, right) menu layouts […]

Continue

jQuery SVG Progress Plugin

This is a unique jQuery plugin that allows you to display infographics on your web pages in a variety of shapes to be precise about six. Dimensions of each figure are based on the container it exists. One of the main advantage is the plugin is its weight, it’s just 5KB!.    

Continue