We are Web Technology Experts Team who provide you Important information on Web Development, Interview Questions and Answers, live project problem and their solution and online free tutorials.
Question: What is Desktop iCalendar?
Desktop iCalendar is a handy desktop calendar for Windows. It stays on your desktop and shows the days of the current month have the events. It can be sync with Google Calendar OR Yahoo Calendar. You can share the calendars with your family and friends with use of the Google OR Yahoo. File format of iCalendar is .ics.
Question: What is use of iCalendar?
iCalendar is a computer file format which allows Internet users to send meeting requests and tasks to other Internet users, via facebook, email. Recipients of the iCalendar data file can respond to the sender easily or counter propose another meeting date/time
Question: Why need of Validate the Icalendar?
When we validate, It make sure us that we are sharing correct and valid file. Also it make sure recipients will get the task/events once they get.
Queston: What is Web Server?
A Web server is a program that uses HTTP to serve the data in form Web pages to users.
When client (like browser OR App), hit an http URL (like http://www.web-technology-experts-notes.in/2016/08/what-is-rtmp-rtmpt-rtmpe-rtmpte-and-rtmps-protocol.html),
An request goes to Web Server (domain's server), Web server execute the request and return the data.
Note: Dedicated computers and appliances may be referred to as Web servers as well.
Queston: Giv example of Web Server?
A computer can be converted to web server, for this they need to connect to the internet install the web server software.
Following are web server software.
Apache HTTP Server
Microsoft Internet Information Services (IIS)
Apache Tomcat
Nginx
Oracle iPlanet Web Server
Lighttpd
Mobile Web Server
Mongoose (web server)
Jetty
Wamp Server
Boa web server
CERN httpd
Gunicorn
Kloxo-MR
Roxen
AOLserver
Tornado (web server)
Adobe JRun
Hiawatha (web server)
enhydra
WEBrick
Question: What is the difference between web server and application server?
Web Server is a server that serves content to the web using http/https protocol.
Application server you can write the business login and It can also be work like web server.
Web Server is used for serve the content whereas application server is used for hosts and exposes business logic and processes.
Question: Why port 80 for web services?
Hypertext Transfer Protocol, port 80 is the port (default port) that the server "listens to" or expects to receive from a Web client.
A port can be specified in the range from 0-65536 on the NCSA server.
However, the server administrator configures the server so that only one port number can be recognized.
Question: What is default port for https?
443
Question: What are the different ports used in Web Development?
20 FTP (File Transfer Protocol)
21 SFTP (Secure File Transfer Protocol)
22 Secure Shell (SSH) Connection
23 Shell connection like ssh but its not reliable.
25 Simple Mail Transfer Protocol (SMTP)
50 Hypertext Transfer Protocol (HTTP)
110 Post Office Protocol (POP)
143 Internet Message Access Protocol (IMAP)
443 Hypertext Transfer Protocol over SSL/TLS (HTTPS)
Question: What is Azure Blob storage?
Azure Blob storage is a service that stores unstructured large data in the cloud in form of objects/blob.
Blob storage can store any type of file like image, video OR text etc.
Stored data can be accessed through HTTP or HTTPS.
Question: What is Blob?
It is large file like an image, video or binary data.
Question: Why Blob Storage are used?
Streaming Audio/Video.
Storing data for backup and restore.
Store heavy data like images, audio and videos.
Access the data in browser.
Storing files for distributed access.
Question: What is structure of Blob storage?
An account can have one OR More container.
User can store the data in container.
For Example:
Question: In how many programming language code is available?
.NET
Java
Node.js
C++
Python
P?HP
Ruby
iOS
Xamarin
Question: What is mount in linux?
Mounting a filesystem means making the particular filesystem accessible.
When mounting a filesystem it does not matter if the filesystem is a hard disk partition, CD-ROM, floppy, or USB storage device.
Question: Differences between Azure Block Blob and Page Blob?
Block blobs are for your discrete storage objects like jpg's, log files, etc.
Page blobs are for random read/write storage, such as VHD's. Max size 1TB.
Question: What is the maximum length of an Azure blob name?
1024 max character.
$username = 'mygmail@gmail.com'; //Gmail address
$password = 'gma12#@c'; //Gmail password
error_reporting(0);
$bodyId=35; //This is message Id
//Read Message from indebox
$hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
//Read Message from Trash
// $hostname = '{imap.gmail.com:993/imap/ssl}[Gmail]/Trash';
//Read Message from Sent
//$hostname = '{imap.gmail.com:993/imap/ssl}[Gmail]/Sent Mail';
$con = imap_open($hostname, $username, $password);
$messageNumber = $bodyId;
$structure = imap_fetchstructure($con, $messageNumber);
//pr($structure);die;
$message='';
if(!empty($structure->parts)){
$flattenedParts = flattenParts($structure->parts);
foreach($flattenedParts as $partNumber => $part) {
switch($part->type) {
case 0:
// the HTML or plain text part of the email
$message = getPart($con, $messageNumber, $partNumber, $part->encoding);
// now do something with the message, e.g. render it
break;
case 1:
// multi-part headers, can ignore
break;
case 2:
// attached message headers, can ignore
break;
case 3: // application
case 4: // audio
case 5: // image
case 6: // video
case 7: // other
//pr($part);
//echo "
$$$$$";
$filename = getFilenameFromPart($part);
if($filename) {
// it's an attachment
$attachment = getPart($con, $messageNumber, $partNumber, $part->encoding);
if (empty($filename))
$filename = $filename;
if (empty($filename))
$filename = time() . ".dat";
$folder = "attachment";
if (!is_dir($folder)) {
mkdir($folder);
}
$fp = fopen("./" . $folder . "/" . $messageNumber . "-" . $filename, "w+");
fwrite($fp, $filename);
fclose($fp);
// now do something with the attachment, e.g. save it somewhere
$message.='