Lecture Web technologies and programming – Lecture 22: Introduction to PHP (Part 1)

After studying this chapter you will be able to understand: Setting the environment, overview of PHP, constants and variables in PHP, basic rules of PHP syntax, writing and executing PHP code, writing output to the browser, integrating HTML with PHP,. | 1 CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr. Tehseen Riaz Abbasi 1 2 Introduction to jQuery Why use jQuery Jquery: Syntax Selectors Element Selectors Class Selectors Events Effects 3 DOM DOM Objects Window Navigator Location History Document XML Components of XML 4 Setting the environment Overview of PHP Constants and Variables in PHP PHP strings PHP is loose typed language 5 5 Department of Computer Science, CIIT Islamabad. A Web Server PHP MySql Editor Macromedia Dreamweaver Adobe Dreamweaver Notepad / Notepad++ 6 WAMP Server Windows, Apache, MySQL, PHP Department of Computer Science, CIIT Islamabad. 6 Checking WAMP status: If this Icon is Red or Orange, it means it is not working properly. is missing Install Microsoft Visual C++ 2010 SP1 Redistributable Package Port conflict with Skype Port conflict with IIS Express (if Visual Studio is installed) 7 WAMP Is Working Properly Resolving Port Issues (If there is port issue): Click the icon of WAMP Server Expand Apache section Open file in Notepad Press Ctrl+F and type 80 Wherever you find occurrence of 80, change it to 81 Save the file Click the icon of WAMP Server and Select Start All Services Open Your Browser, type localhost:81 and it should display homepage of WampServer 8 9 PHP: Hypertext Preprocessor Originally called “Personal Home Page Tools” Used to create dynamic web pages Popular server-side scripting technology Open-source Anyone may view, modify and redistribute source code Platform independent PHP is a widely-used scripting language 10 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“ PHP scripts are executed on the server. 11 PHP: Interpreted language, scripts are parsed at run-time rather than compiled beforehand Compatible with many popular databases Popular server-side scripting | 1 CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr. Tehseen Riaz Abbasi 1 2 Introduction to jQuery Why use jQuery Jquery: Syntax Selectors Element Selectors Class Selectors Events Effects 3 DOM DOM Objects Window Navigator Location History Document XML Components of XML 4 Setting the environment Overview of PHP Constants and Variables in PHP PHP strings PHP is loose typed language 5 5 Department of Computer Science, CIIT Islamabad. A Web Server PHP MySql Editor Macromedia Dreamweaver Adobe Dreamweaver Notepad / Notepad++ 6 WAMP Server Windows, Apache, MySQL, PHP Department of Computer Science, CIIT Islamabad. 6 Checking WAMP status: If this Icon is Red or Orange, it means it is not working properly. is missing Install Microsoft Visual C++ 2010 SP1 Redistributable Package Port conflict with Skype Port conflict with IIS Express (if Visual Studio is installed) 7 WAMP Is Working Properly Resolving Port Issues (If there is port issue): Click .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.