Server Side Script (PHP)
What is PHP?
- PHP is one of the server-side scripting languages.
- PHP was originally called Personal Home Page.
- PHP is an open source and eventually the name changed to PHP Hypertext Pre-processor.
- PHP scripts can be embedded within HTML to create dynamic and interactive web pages (e-commerce or application web-based system).
Advantage of PHP:
- Capable
- Secure
- Easy to use
- Free of cost
- Large communities
- Faster development
- Platform independent
- Supports all major web servers
- Supports all major databases
- Proven and trusted
- PHP file 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 file fave extension ".php"
What can PHP do??
- Evaluate form data sent from a browser.
- Build a custom web content to serve the browser.
- Talk to a database.
- generate dynamic page content
- create, open, read, write, delete, and close files on the server
- send and receive cookies
- add, delete, modify data in database
- be used to control user- access
- encrypt data
Operators
PHP supports several different types of operators that can be used in simple or complex expressions.
Logical Operator


No comments:
Post a Comment