PHP: A Comprehensive Introduction to this Widely-Used Web Development Language, Study notes of C programming

PHP is a popular open-source web development language that can be embedded into HTML and generally runs on a web server. It acts as a filter and is widely used due to its compatibility, database connectivity, and support for Object-Oriented Programming. In this document, we provide an overview of PHP, its characteristics, usage, interaction with HTML, and security considerations.

Typology: Study notes

2020/2021

Uploaded on 05/10/2021

maithili-rathod
maithili-rathod 🇮🇳

6 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Brief Introduction
of PHP
---Xue Wu
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download PHP: A Comprehensive Introduction to this Widely-Used Web Development Language and more Study notes C programming in PDF only on Docsity!

Brief Introduction

of PHP

---Xue Wu

PHP (Personal Home Page)

 Web development

  1. can be embedded into HTML
  2. generally runs on a web server
  3. Act as a filter: (from PHP 4, performance improved by complied input as bytecode)
  4. widely used and free charge

PHP--- example

 Grammatical: ---Can be both embedded into HTML and separated from HTML code:

(XML passers )

<%... %>

PHP---Usage

Competitor: Microsoft’s Active Server Page Sun Microsystems’ Java Server Page Mode_perl  Rapid Application Development (RAD) Cake PHP, PRADO, Symfony, Codelgniter

PHP--- Interaction with THML:

echo Can output multiple strings:

---result: hello world  Print Can only output single string:

---Parse error: parse error in d:adminmyphphometest.p hp3 on line 54

PHP---Security

 To prevent from damaging on your website

  1. Error Report
  2. SQL Injections
  3. Cross Site Scripting
  4. Session Security

Reference

 http://en.wikipedia.org/wiki/PHP last retrieved on 2009-2-  http://www.phpchina.com/?action_thematici nfoview_itemid_34132.html “PHP tutorial”, last retrieved on 2009-2-  http://www.phpfreaks.com/tutorial/php- security/page9 “PHP Security”, last retrieved on 2009-3-