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.
If you want to get last week dates using php, that can be get from the following example.
How to add new element to an array using php.array_push() php core function can be use for this.It will adding new element to ad array.
How to get array size of the php.Simply php count() and sizeof() functions get array size.
If you want to get duplicate values count in an array,this method can be use easily.It will display array values all count.
How can I find elements in an array using php.Here is a simple small example to find element an array.Youcan use php in_array() function to this.
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 it true or false.
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 traffic.So…
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() function to convert PHP arrays…
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.It contents of the User-Agent header from the current request. So simply you can…