introduction to php
Skip this Video
Download Presentation
Introduction to PHP

Loading in 2 Seconds...

play fullscreen
1 / 33

Introduction to PHP - PowerPoint PPT Presentation

  • Uploaded on

Introduction to PHP. MIS 3501, Fall 2014 Jeremy Shafer Department of MIS Fox School of Business Temple University September 2, 2014. An Illustration – HTML only. URL, referencing a .html page. HTTP Response. An Illustration (developer, working remotely).

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Introduction to PHP' - nanda

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
introduction to php

Introduction to PHP

MIS 3501, Fall 2014

Jeremy Shafer

Department of MIS

Fox School of Business

Temple University

September 2, 2014

an illustration html only
An Illustration – HTML only

URL, referencing a .html page

HTTP Response

an illustration developer working remotely
An Illustration (developer, working remotely)

Upload his / her work via sftp (port 22)

XAMPP installed locally. Use it to store and test your work until it is ready to be sent to the server.

an illustration php
An Illustration – PHP

PHP Interpreter

URL, referencing a .php page

HTTP Response


creating basic php scripts
Creating Basic PHP Scripts
  • Embedded language refers to code that is embedded within a Web page (HTML document)
  • PHP code is typed directly into a Web page as a separate section
  • A Web page containing PHP code must be saved with an extension of .php to be processed by the scripting engine
  • PHP code is never sent to a client's Web browser; only the output of the processing is sent to the browser
creating basic php scripts continued
Creating Basic PHP Scripts (continued)
  • The Web page generated from the PHP code, and HTML elements found within the PHP file, is returned to the client
  • A web page that does not contain any PHP code should be saved with an .html extension
  • .phpis the default extension that most Web servers use to process PHP scripts
creating php code blocks
Creating PHP Code Blocks
  • Code declaration blocks are separate sections on a Web page that are interpreted by the scripting engine
  • There are four types of code declaration blocks.
  • The one we care about:
    • Standard PHP script delimiters
  • The rest:
    • The