Related Articles
How to Validate Emails Using Filters in PHP
Using PHP Filters we can fully validate an email id and this filter option requires PHP 5 version. Below is the code for validating emails in PHP using filters, along with using explode and foreach loop and then inserting the correct emails in the mysql database. Multiple emails validation. Validate Emails Using Filters in PHP
HTTP Codes Web Page Errors While Browsing
Below are some web page errors you may came/come across while browsing internet. The error ranges are many but below are the ones which will occur mostly. Error 400 – Bad request errorError 401 – unauthorized request errorError 403 – forbidden errorError 404 – Not found errorError 500 -Internal error errorError 501 – Not Implemented […]
How to Check the Last Day in Month
Check the Last Day in Month $startDate = “20150624”;$endDate = “20150722”;$startDate = strtotime($startDate);$endDate = strtotime($endDate);$dayLength = 60 * 60 * 24;$checkDateRange = ($endDate – $startDate) / $dayLength;$datesStartMonth = date(‘t’, $startDate);if ($checkDateRange > $datesStartMonth) {echo $error = “Date range should be with in one month”;}

