1 / 5

Introduction to PHP: Basics of Server-Side Scripting for Web Development

PHP, or Hypertext Preprocessor, is a widely-used open-source server-side scripting language originally known as "Personal Home Page Tools." It allows developers to create dynamic web applications and modify server responses efficiently. PHP files typically have a .php extension, and one can easily embed HTML within PHP code. Variables in PHP are indicated by a dollar sign, and the language supports case-sensitive identifiers. Numerous online PHP playgrounds are available for experimentation. This introduction serves as a gateway to understanding PHP and its functionalities in web programming.

molimo
Télécharger la présentation

Introduction to PHP: Basics of Server-Side Scripting for Web Development

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pre-Module PHP Introduction BTM 395: Internet Programming

  2. PHP • PHP: Hypertext Preprocessor • Originally called “Personal Home Page Tools” • Popular server-side scripting technology • Open-source • Anyone may view, modify and redistribute source code • Supported freely by community • Platform independent

  3. Basic application • Filenames end with .php by convention • Server can be set to recognize other extensions (even .html) • Scripting delimiters • <?php … ?> • Or just <? … ?>, but this form not recommended • Must enclose all script code • Any HTML code outside the <?php … ?> tags will be processed as HTML • Variables preceded by $ symbol • Case-sensitive • Permits easily embedding variables in strings

  4. Online PHP playgrounds • http://writecodeonline.com/php/ • http://codepad.org/

  5. Sources • Some content modified fromInternet & World Wide Web: How to Program. By Deitel, Deitel, and Goldberg. Published by Prentice Hall. ISBN 0-13-145091-3

More Related