PHP DAY 1

DAY - 1

PHP
Introduction

·         PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
·         Rasmus Lerdorf founded the first version of PHP in 1994.
·         PHP is a widely-used, open source server side scripting language that is embedded in HTML.
·         It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
·         It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
·         PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time.
·         PHP supports a large number of major protocols such as POP3,
IMAP, and LDAP. PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.
·         PHP is forgiving: PHP language tries to be as forgiving as possible.
·         PHP Syntax is C-Like.

 

Common uses of PHP

  • PHP can generate dynamic page content
·         PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them.
·         PHP can handle forms, i.e. gather data from files, save data to a file, through email you can send data, return data to the user.
  • PHP can add, delete, modify data in your database
  • PHP can send and receive cookies
  • PHP can be used to control user-access
  • PHP can encrypt data

What is a PHP File?

  • PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  • PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • PHP files have extension ".php"

 

Characteristics of PHP

Five important characteristics make PHP's practical nature possible −
  • Simplicity
  • Efficiency
  • Security
  • Flexibility
  • Familiarity

No comments:

Post a Comment

Give your valuable feedback

Topic :Software & Types, Subject: Computer Fundamental Notes for CSJM University Kanpur(for different courses like BBA, BCA, etc..)

Software Software refers to the programs, data, and instructions that enable a computer or other digital device to perform specific tasks or...