PHP and MYSQL
Introduction:
PHP started out as a small open source project that evolved as more and more people found out how
useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.
PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
PHP is a 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, executeseven 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 andCORBA), making n-tier
development a possibility for the first time.
PHP is forgiving: PHP language tries to be as forgiving as possible.
Characteristics of PHP
Five important characteristics make PHP's practical nature possible −
- Simplicity
- Efficiency
- Security
- Flexibility
- Familiarity
Why use PHP
PHP is a server-side scripting language, which is used to
design the dynamic web applications with MySQL database.
It handles dynamic content, database as well as session tracking for the website
You can create sessions in PHP.
It can access cookies variable and also set cookies.
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Comments
Post a Comment