TAILIEUCHUNG - ICT 5 Web Development - Chapter 1.3: Introduction to PHP

ICT 5 Web Development - Chapter : Introduction to PHP What is PHP? Develop and publish PHP scripts, PHP proper syntax, PHP comments, Proper Syntax, Alternative Comment Syntax, Using Comments with PHP Scripts. | Objectives Vietnam and Japan Joint ICT HRD Program To understand what PHP is and how a PHP script o ks ith sc ipt works with a Web Browser and a B o se Web Server To learn what software and components you need to get started with PHP ICT 5 Web Development Lesson 1-3. Introduction to PHP 1- To create and run a simple PHP script Nguyen Thi Thu Trang trangntttrangntt-fit@ 2 Content Content 1. What is PHP? 2. Develop and publish PHP scripts 3. PHP proper syntax 4. PHP comments 1. What is PHP? 2. Develop and publish PHP scripts 3. PHP proper syntax 4. PHP comments 3 4 1 How PHP Pages are Accessed and Interpreted 1. What is PHP? Your PC WebServer (Internet connected) Advantages of Using PHP to enhance (Internet connected) 1. Web Browser Web pages: pages: Please Enter A Phone Number – Easy to use 2. Se n d Req uest for PH P Web Server Software 3. Receive request, find file and read it. Submit Erase – Open source – Multiple platform file 4. Execute PHP statements 7. Web Browser What about JSP & Servlet, ? 5. Send results back. Web Browser Phone Query Results: That is John Doe's Phone Number nR etur 6. R lts esu 5 Content 6 2. Develop and publish PHP script 1. What is PHP? 2. Develop and publish PHP scripts 3. PHP proper syntax 4. PHP comments To develop and p p publish PHP scripts all y p you need is: – A Web server with PHP built into it – A client machine with a basic text editor and Internet connection – FTP or Telnet software 7 8 2 Exploring the Basic PHP Development Process Creating a PHP Script File and Saving It to a Local Disk You can use a number of different editors to create your PHP script files. The basic steps y p you can use to develop p and publish PHP pages are: 1. Create a PHP script file and save it to a local disk. 2. Use FTP to copy the file to the server. 3. Access your file using a browser. – The PHP script starts with a . – Between these tags is a singlePHP print .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.