Xem mẫu
Web Engineering
Lecture 19-20
MAJID MUMTAZ Department of Computer Science, CIIT Wah
1
PHP
• What is PHP:PHP originally stood for Personal Home Page
But now
• PHP stands for ”PHP: Hypertext Preprocessor”
• PHP was originally created by Rasmus Lerdorf in 1995
• PHP is an open soruce server side scripting language
2
PHP
• Why we use PHP?
We use PHP to create dynamic web pages/sites – It is widely used,
– Free and efficient alternative to competitors such as Microsoft ASP, ASP.NET
– Competitors of PHP are • ASP/ASP.NET
• JSP
3
PHP
• What do i need to run PHP pages
– Install a web server on your own PC and then install PHP & MYSQL
If
Your server has activated support for PHP you do not need to do anything. Just create some PHP file, place them in your web directory & the server will automatically parse them for you.
4
PHP
• Web Server: Mostly we use the following web servers
– WAMP: Window, Apache, MYSQL, PHP
– XAMPP: All OS, Apache, MYSQL, PHP, Perl
Note: Install the web server start as services & then type localhost in your browser to check whether it is running or not
– LAMP: used for Linux Machines users
5
...
- tailieumienphi.vn
nguon tai.lieu . vn