Lecture 1 php basic introduction
-
Upload
aamir-awan -
Category
Technology
-
view
46 -
download
4
Transcript of Lecture 1 php basic introduction
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
PHP originally stood for Personal Home Page
Now its changedPHP is an acronym for "PHP: Hypertext Preprocessor"PHP is a widely-used, open source scripting languagePHP scripts are executed on the serverPHP is free to download and use
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
Before you continue you should have a basic understanding of the following:
HTMLCSSJavaScript
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
What is a PHP File?
PHP files can contain text, HTML, CSS, JavaScript, and PHP codePHP code are executed on the server, and the result is returned to the browser as plain HTMLPHP files have extension ".php“
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
What is a PHP File?
PHP files can contain text, HTML, CSS, JavaScript, and PHP codePHP code are executed on the server, and the result is returned to the browser as plain HTMLPHP files have extension ".php"
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
What Can PHP Do?PHP can generate dynamic page contentPHP can create, open, read, write, delete, and close files on the serverPHP can collect form dataPHP can send and receive cookiesPHP can add, delete, modify data in your databasePHP can be used to control user-accessPHP can encrypt dataWith PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
Why PHP?PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)PHP is compatible with almost all servers used today (Apache, IIS, etc.)PHP supports a wide range of databasesPHP is free. Download it from the official PHP resource: www.php.netPHP is easy to learn and runs efficiently on the server side
Lecture 1: PHP Basic Introduction
Presentation by Aamir Javedwww.Tech2pk.com
Web Servers for phpPHP Programming language used in following web servers.
*wamp *xampp
Can be access trough typing localhost on your web browser url.