Use below snippet to set height of an iframe to 100%, however we can also set width of ifram to 100% also. <iframe src=”http://domain.com” frameborder=”0″></iframe> iframe { display:block; width:100%; height:100vh; }
Author: viveik
14 Ways to Secure Joomla and prevent from Hijacking
Change the default database prefix (jos_) Use a SEF component Use the correct CHMOD for each folder and file. Password protect your administrative area. Use a .htaccess file to secure your Joomla. Passwords – Use a unique strong password. Install the jSecure Authentication plugin. Always Update all third party extensions to the latest versions. Remove […]
RRULE EXDATE Ical Recurring Event Appointment Example
If you are looking for a RRULE EXDATE Ical example file for a Recurring Event then check below. Ical Recurring Event Example BEGIN:VCALENDAR PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20190922T023000Z DTSTAMP:20190922T023611Z RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20151122T033000Z UID:1780 Location:AP Test DESCRIPTION:test LAST-MODIFIED:20190922T023611Z SEQUENCE:0 STATUS:CONFIRMED SUMMARY: service TRANSP:OPAQUE END:VEVENT END:VCALENDAR
Ical Recurring Appointment with RRULE EXDATE Examples
To create a recur ical in outlook just use RRULE and EXDATE for exclude date.With Recur RRULE you need to use below values few are optional ://recur = “FREQ”=freq *( freq = “SECONDLY” / “MINUTELY” / “HOURLY” / “DAILY”/ “WEEKLY” / “MONTHLY” / “YEARLY”enddate = dateenddate =/ date-time ;An UTC valuebyseclist = seconds / ( […]
PHP Magic Constants __LINE__ __FILE__ __DIR__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__
Below are the list of PHP predefined Magic Constants PHP Magic Constants Name Description __LINE__ The current line number of the file. __FILE__ The full path and filename of the file with symlinks resolved. If used inside an include, the name of the included file is returned. __DIR__ The directory of the file. If used […]
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”;}
Which is the Best Programming Language? Poll #1
We had ran a Poll on the blog, for Which is the Best Programming Language, for 3 weeks and we have received 109 votes for this, and with out hesitation PHP has won the Poll with 43 votes i.e., 39% of the total votes received. I personally feel that Java is the Best programming language […]
What is SVN A SVN D SVN U SVN C SVN G
In sub version SVN below characters have the following meaning, for the result codes on the command line. A Added D Deleted U Updated C Conflict G Merged The character in first column says an update to actual file, while updates to the file’s property’s are shown in the second column.
How to find duplicate rows in Sql or Mysql
You can find duplicate rows in the mysql table, just use below select query, to find duplicate rows in Oracle, Sql, Mysql, DB2. SELECT columnName, COUNT(*) as countFROM selectedTableGROUP BY columnNameHAVING COUNT(*) > 1; You came from below query:how to find duplicate rows in sql server 2008how to find duplicate rows in sql and deletehow […]
Must Have Addons or Plugins for Web Developers
1. Firebug : Firebug needs no introduction, with Firebug you can do lot of stuff like editing a web page and monitoring the page Firebug is the best friend for web developers. Install firebug on Chrome go here. Install firebug on Firefox go here. 2. Web Developer : With Web developer plugin you got bucket […]