How to detect Ajax Request using PHP
If you are using PHP just drop the following line on top of your script, this will detect whether the request was made using Ajax or not.
jQuery Anchor Scroll Scripts & Plugins
Sooner or later we all are going to fall in love with the eye catching scroll effects that jQuery has to offer. Let’s look at some of wonderful jQuery scripts & plugins that implements smooth scrolling effects.
Set Cookies Get Cookies Delete Cookies with PHP
Cookies are small files created by server on a user computer, cookies are primarily used to store little information about anything, and when user visits your website next time the information stored in cookies can be retrieved and used in various purpose.
Check CURL is available using PHP
If you need to check whether curl is available in a web server, you can use snippet below to check available curl. The code below will check if curl is available and enabled in the web server.
Usage :