Thursday, 28 May 2015

Summer Internship in Delhi

                         PHP interview questions and answers

What is PHP?

PHP: Hypertext Preprocessor is open source server-side scripting language that is widely used for web development. PHP scripts are executed on the server. PHP allows writing dynamically generated web pages efficiently and quickly. The syntax is mostly borrowed from C, Java and perl. PHP is free to download and use.

What is PEAR in php?

PEAR(PHP Extension and Application Repository) is a framework and repository for reusable PHP components. PEAR is a code repository containing all kinds of php code snippets and libraries.

PEAR also offers a command-line interface that can be used to automatically install "packages".

Explain how to submit form without a submit button.

We can achieve the above task by using JavaScript code linked to an event trigger of any form field and call the document.form.submit() function in JavaScript code.

Echo vs. print statement.

echo() and print() are language constructs in PHP, both are used to output strings. The speed of both statements is almost the same.

echo() can take multiple expressions whereas print cannot take multiple expressions.

Print return true or false based on success or failure whereas echo doesn't return true or false.

$message vs. $$message in PHP.

$message is a variable with a fixed name. $$message is a variable whose name is stored in $message.

If $message contains "var", $$message is the same as $var.

Explain the different types of errors in PHP.

Notices, Warnings and Fatal errors are the types of errors in PHP

Notices:

Notices represents non-critical errors, i.e. accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all but whenever required, you can change this default behavior.

Warnings:

Warnings are more serious errors but they do not result in script termination. i.e calling include() a file which does not exist. By default, these errors are displayed to the user.

Fatal errors:

Fatal errors are critical errors i.e. calling a non-existent function or class. These errors cause the immediate termination of the script.

Explain the importance of the function htmlentities.

The htmlentities() function converts characters to HTML entities.

What is MIME?

MIME - Multi-purpose Internet Mail Extensions.

MIME types represents a standard way of classifying file types over Internet.

Web servers and browsers have a list of MIME types, which facilitates files transfer of the same type in the same way, irrespective of operating system they are working in.

A MIME type has two parts: a type and a subtype. They are separated by a slash (/).

MIME type for Microsoft Word files is application and the subtype is msword, i.e. application/msword.
Part 1   Part 2   Part 3   Part 4   Part 5   Part 6
Download PHP interview questions and answers



Summer Training In Delhi

About KR Network Cloud

KR NETWORK CLOUD is one of the leading IT Technologies Training Center who prides itself for providing hands-on practical training to both individuals as well as corporate professionals.
Live instructor led hands-on IT Networking Courses, onsite training, as well as IT certification boot camps. We understand that everyone has a preferred method of learning. We prepare Professionals by delivering Hands-on job oriented training with real time projects who teaches them how to apply the knowledge that they gain in classes along with preparing them to pass the vendor based certification exams, which build confidence and assist individuals to apply for a job in the IT industry.
Our approach to training and development is designed to ensure that our trainees become capable of adopting up-to-date skills to work in today’s modern, widest range of Industrial and Service sectors.
The training team of KR Network Cloud includes professionals who have more than 6 years experience in their respective fields. All the training sessions conducted are strictly based on the requirements of our client.
We design and deliver the best quality training to meet the changing and growing needs of the Professionals.

Customized training Programs.
Flexible Training Schedule- Courses can be delivered at your chosen convenient time.
Courseware includes all latest technologies.
Flexible group size.

Affordable Price.
Most advanced Training Resources –structured course material, learning CDs.
Highly experienced and certified faculty members.
Lab Environment as per globally recommended standards.
Convenient Batch Timings.
Customized Training for your organization.
Specialized Batch for Corporate Clients.
Certified and Industry Experienced Instructors.
Globally recommended Official Curriculum.
Hands-on Instructor led training.

To be widely recognized as one of the best and most innovative center of relevant and high quality Information Technology and Business programs

To deliver to our students a relevant and cost effective all-round education of the highest possible quality through excellent instruction with a view to producing competent professionals

Our Courses
summer Training in Delhi courses

Technologies
Linux (Red Hat Enterprise)
RHEL-4, RHEL-5, RHEL-6
RHCSA, RHCE, RHCSS- Network Security
LDAP, Selinux, RHCSS 333,423,429 ,RHCVA (Virtualization)
Shell Scripting, Ubuntu, CentOs
Microsoft .Net Framework 1.1, 2.0, 3.0, 3.5, 4.0
J2SE, J2EE, OCP Java EE 5,JAVA SE 6
,Windows 2008, XP, Vista ,Windows CE 4.x/5.x
Linux (RedHat, LAMP) ,Linux Embedded
Unix (AIX, HP-UX etc)
Oracle Solaris Administration 10, 11
Web Services
Web Services and its complete family (WS* Specifications)
Web Services in .Net
Web Services in Java
Web Services in PHP & PHP++
My-Sql ,Apache server,Tomcat,LAMP

Programming Languages

C# 1.0, 2.0, 3.0
VB.Net 1.0, 2.0
Java 2, 5, 6
C/C++; C++
.Net ,PHP 4.x, 5.x
PERL 5.x ,Python ,BASH ,PERL
Unix shell scripting
JBoss Application and Portal Server (4.x)

Database

Microsoft SQL Server 2005
DBA, SSIS, SSRS, SSAS
MySQL (4.x, 5.x)
Oracle (8, 9, 10g, 9i, 10i, 11i, 12i, Apps, Financials)

Networking/MS Servers/Administration/Security

CCNA, CCNP, CCIP, CCIE
MCSE,MCITP,Exchange server
RHCE, RHCSS, RHCVA
HP SAN, Storage, Data Protector
Windows Administration 2008, Active Directory
Linux Administration, RHCSA, RHCE ,Exchange Server 2000, 2003, 2007, 2010

Get in Touch

011-42041399
+91-9555378418
info@krnetworkcloud.org
B-41,3rd Floor
Near Maharaja Hotel,
Nirman Vihar Metro Station
Laxmi Nagar
New Delhi-110092