Related Articles
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”;}
How to Detect a Adblock on Website or Blog and Show Pop up Message
Many people these are installing plugins like Adblock to block ads on the websites/blog and for few People earning from Ads are the main income stream, so today I found this below script where it can detect whether the user has installed Adblock any other plugins which are not displaying Ads on the website and […]
Open a Url onload of a Website or Pagee
You can able to load a webpage while accessing a particular Website using Javascript, see below for code. <script> function openWindow() { window.open(‘http://www.google.com‘,’a’,’height=300,width=600′); } </script> <body onload=”openWindow();”> </body>