Home » PHP (Page 3)

PHP get last week date »

PHP
19

(adsbygoogle = window.adsbygoogle || []).push({});

If you want to get last week dates using php, that can be get from the following example.

Read more…

PHP add element to an array »

PHP
14

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 Read more…

PHP get array size »

PHP
19

How to get array size of the php.Simply php count() and sizeof() functions get array size.

PHP get duplicate values count in an array »

PHP
66

If you want to get duplicate values count in an array,this method can be use easily.It will display array values all count.

PHP find elements in an array »

PHP
15

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() Read more…

PHP Validate Email Address »

PHP
16

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 Read more…

How can I detect iFrame using PHP »

PHP
29

How to detect this is a iframe or not, using php.You can check the referrer to determine if a request came from a Read more…

PHP array convert to Java Script array »

PHP
16

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 Read more…

PHP Detect Browser »

PHP
14

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 Read more…

PHP Send SMS with SMS Gateway »

PHP
38

How to send SMS via SMS Gateway in PHP.I found the sms gateway to do this.But it is gives only 25 free sms Read more…

PHP check a random string if it exists and create a new one »

PHP
26

How to create random string and check if it exists form database , if it does create a new one using php.You can Read more…