JQuery check element is exist

How can I check if some element is exist or not, using JQuery.Here describes check element by using JQuery and Java Script.If you already have basic knowledge of JQueryand Java Script this is simpl…

How to read file using PHP

How to read file using php.Following example is describes how to read and display file content using php.php fopen() and fread() functions will help to do this.

PHP Validate Email Address

How to validate Email address using php.This can be easily done by php regular expressions. Here is a email validation example.Only you have to call to this validation function and it will return i…

JQuery error() method

What is the error() method of the jquery and how to use it.This article is describing how to use it,usages,issues and so on.The error event is sent to elements, such as images, that are referenced …

JQuery access iFrame elements

When we working with iframe if we want to access iframe elements using JQuery.If you try to access using ID, class or other attributes may be you can’t access those.Here is a simple effective…

How can I detect iFrame using PHP

How to detect this is a iframe or not, using php.You can check the referrer to determine if a request came from a another page on your own site or from a third-party site, or if it was direct traff…

PHP array convert to Java Script array

Sometimes when we using php, we want to convert php array to java script array.php array can be convert to java script easily.Here is a easy and best methods to do this. PHP provides json_encode() …

PHP Detect Browser

How can I detect browser using php.You can use php server variable $_SERVER[‘HTTP_USER_AGENT’] for this.It will return about the user’s operating system, as well as their browser.…

Cakephp check if user is logged or not

How to check if user is logged or not in the view or controller in cakephp.Very simple.Look at this function.It will return current logged user details.So you can check this by using user ID or use…