Detect Ajax Request-Php And Frameworks

Detecting ajax request in PHP is not a very tough task and there are many ways to detect it using client side code, for example, if you send a flag/sign i.e. http://example.com?isAjax=1 with the request to the server and check it on the server side if( isset( $_GET['isAjax'] ) &&...

→ Read More

Ajax Helper Functions in WordPress 3.5

On December 11, 2012, WordPress team has released latest version 3.5 with some cool new features. Amongst them WordPress has also introduced some new functions, among those functions there are three brand new Ajax related functions too and these are wp_send_json, wp_send_json_success and wp_send_json_error. These functions would be very useful...

→ Read More

Customize Admin Bar in WordPress

WorPress adds a fixed menu bar (Admin Bar aka Toolbar) at the top of the screen when user is logged in and the menu bar is visible even when you are at the front end of the site so it’s very helpful to access some admin pages quickly. WordPress allows...

→ Read More

jQuery Sticky Menu Plugin

This is a very simple jQuery plugin (code sample) which I’ve written for my blog to make the top horizontal menu bar sticky when a user scrolls down the page. Actually there are a lot of sites on the internet (specially blogs) who are using this technique now a days...

→ Read More

Laravel 3 Custom Validation Rule

Laravel provides a number of powerful validation rules including custom validation rules. All of these validation rules are really very handy and easy to use, using these rules (for image validation) you can set allowed mime types for the image, max or min image size in kilobytes etc, for example,...

→ Read More

Copyright © 2025 Sheikh Heera
Proudly powered by - WP Manage Ninja