Web Development PHP CSCI-GA 1122 Hypertext Preprocessor Web - - PowerPoint PPT Presentation

web development php csci ga 1122 hypertext preprocessor
SMART_READER_LITE
LIVE PREVIEW

Web Development PHP CSCI-GA 1122 Hypertext Preprocessor Web - - PowerPoint PPT Presentation

Web Development PHP CSCI-GA 1122 Hypertext Preprocessor Web Development PHP CSCI-GA 1122 Hypertext Preprocessor PHP is an open-source language for PHP server-side scripting Hypertext Preprocessor PHP code is executed on the server and


slide-1
SLIDE 1

PHP Hypertext Preprocessor Web Development CSCI-GA 1122

slide-2
SLIDE 2

PHP Hypertext Preprocessor

Web Development CSCI-GA 1122 PHP Hypertext Preprocessor

PHP is an open-source language for server-side scripting PHP code is executed on the server and the result is returned to the browser as plain HTML PHP in conjunction with HTML, CSS, JavaScript, and MySQL forms the basis of dynamic web development

slide-3
SLIDE 3

Request and Response Basic HTML Sequence

Web Development CSCI-GA 1122 PHP Hypertext Preprocessor

  • 1. You enter a URL in the address bar
  • 2. The browser looks up the IP address
  • 3. The browser requests the page
  • 4. The request crosses the Internet

and arrives at the web server

  • 5. The server looks for the web page
  • n its hard disk
  • 6. The Web page is retrieved and

returned to the browser

  • 7. The browser displays the web page
slide-4
SLIDE 4

Request and Response With PHP

Web Development CSCI-GA 1122 PHP Hypertext Preprocessor

If, after a web server access a page, 
 it notices that it includes PHP, the page is passed to the PHP interpreter The interpreter executes the PHP code The interpreter returns the results of the PHP code to the web server Then the web page is returned to the browser and the browser displays it

slide-5
SLIDE 5

PHP Capability

Web Development CSCI-GA 1122 PHP Hypertext Preprocessor

  • Generate dynamic page content
  • Create, open, read, write, delete, and

close files on the server

  • Collect form data
  • Send and receive cookies
  • Add, delete, and modify data in a

database

  • Control user-access
  • Encrypt data
slide-6
SLIDE 6

Web Development CSCI-GA 1122 PHP Hypertext Preprocessor