Вы находитесь на странице: 1из 13

PHP

Chapter 19: PHP


By: Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

19.8 Form Processing and Business Logic

Superglobal arrays are associative arrays


predefined by PHP that hold variables acquired
from user input, the environment or the web
server and are accessible in any variable
scope.
The arrays $_GET and $_POST retrieve
information sent to the server by HTTP get
and post requests, respectively.
Eyad Alshareef

Eyad Alshareef

Form processing

action property
Where to send form data (php file)

method property
Post
Get
Each element has unique name
Eyad Alshareef

19.8.2 Using PHP to Process HTML5 Forms

Using method = "post" appends form data to


the browser request that contains the protocol
and the requested resources URL.
Scripts located on the web servers machine
can access the form data sent as part of the
request.

Eyad Alshareef

19.4 Form Processing and Business Logic


(Cont.)
We escape the normal meaning of a character
in a string by preceding it with the backslash
character (\).
Function die terminates script execution. The
functions optional argument is a string, which
is printed as the script exits.

Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

Eyad Alshareef

Вам также может понравиться

  • Introduction to PHP
    Introduction to PHP
    От Everand
    Introduction to PHP
    Рейтинг: 3 из 5 звезд
    3/5 (5)
  • PHP Examples Part 3
    PHP Examples Part 3
    От Everand
    PHP Examples Part 3
    Рейтинг: 5 из 5 звезд
    5/5 (1)
  • VTU Solution of 13MCA43 Advanced Web Programming June 2017 by Uma B
    VTU Solution of 13MCA43 Advanced Web Programming June 2017 by Uma B
    Документ19 страниц
    VTU Solution of 13MCA43 Advanced Web Programming June 2017 by Uma B
    Sony
    Оценок пока нет
  • PHP Editor
    PHP Editor
    Документ9 страниц
    PHP Editor
    Princess Diane Ballesteros
    Оценок пока нет
  • PHP Syllabus
    PHP Syllabus
    Документ13 страниц
    PHP Syllabus
    senthil_suruli
    Оценок пока нет
  • PHP Imp
    PHP Imp
    Документ7 страниц
    PHP Imp
    Vaishnavi Jadhav
    Оценок пока нет
  • Lect 5
    Lect 5
    Документ20 страниц
    Lect 5
    Musa Mahdi
    Оценок пока нет
  • Unit 4 (Qb&2mark Answers)
    Unit 4 (Qb&2mark Answers)
    Документ20 страниц
    Unit 4 (Qb&2mark Answers)
    karuna karan
    Оценок пока нет
  • PHP Module 4
    PHP Module 4
    Документ14 страниц
    PHP Module 4
    Hari Murali
    Оценок пока нет
  • Biraj Patel Unit3-4
    Biraj Patel Unit3-4
    Документ55 страниц
    Biraj Patel Unit3-4
    mocit51855
    Оценок пока нет
  • AWT 2nd Test
    AWT 2nd Test
    Документ18 страниц
    AWT 2nd Test
    akash chandeshware
    Оценок пока нет
  • PHP
    PHP
    Документ5 страниц
    PHP
    Ragavan Ram
    Оценок пока нет
  • Learning PHP By: Eyad Alshareef
    Learning PHP By: Eyad Alshareef
    Документ30 страниц
    Learning PHP By: Eyad Alshareef
    عمادالدردور
    Оценок пока нет
  • Web Tech Unit 3 PDF
    Web Tech Unit 3 PDF
    Документ38 страниц
    Web Tech Unit 3 PDF
    Kingsudhar Sudharshan
    Оценок пока нет
  • PHP Differences Questions
    PHP Differences Questions
    Документ18 страниц
    PHP Differences Questions
    Kartheeswari Saravanan
    Оценок пока нет
  • PHP Chapter1
    PHP Chapter1
    Документ15 страниц
    PHP Chapter1
    Firozkhan Pathan
    Оценок пока нет
  • (Chapter 2) More About Handling Text Data in PHP
    (Chapter 2) More About Handling Text Data in PHP
    Документ1 страница
    (Chapter 2) More About Handling Text Data in PHP
    Samuel Alexander Marchant
    Оценок пока нет
  • PHP Interview Question1
    PHP Interview Question1
    Документ13 страниц
    PHP Interview Question1
    sarokum82
    Оценок пока нет
  • What Is PHP? PHP Stands For PHP: Hypertext Pre-Processor: What Do You Need?
    What Is PHP? PHP Stands For PHP: Hypertext Pre-Processor: What Do You Need?
    Документ6 страниц
    What Is PHP? PHP Stands For PHP: Hypertext Pre-Processor: What Do You Need?
    jabbarabdul301
    Оценок пока нет
  • PHP Book
    PHP Book
    Документ114 страниц
    PHP Book
    Eruvuri Aswani Kumar
    Оценок пока нет
  • Web Technologies
    Web Technologies
    Документ25 страниц
    Web Technologies
    Subhash
    Оценок пока нет
  • Unit 10 - WDD - Lesson 07 - PHP
    Unit 10 - WDD - Lesson 07 - PHP
    Документ57 страниц
    Unit 10 - WDD - Lesson 07 - PHP
    Thab Thab
    Оценок пока нет
  • PHP N MYSQL To Use
    PHP N MYSQL To Use
    Документ22 страницы
    PHP N MYSQL To Use
    Aspen Thrush
    Оценок пока нет
  • Forms
    Forms
    Документ26 страниц
    Forms
    Heli Bhavsar
    Оценок пока нет
  • OrangeHRM Code Overview
    OrangeHRM Code Overview
    Документ76 страниц
    OrangeHRM Code Overview
    Javed Pathan
    50% (2)
  • Day1 Presentation
    Day1 Presentation
    Документ24 страницы
    Day1 Presentation
    Nour Terra-link
    Оценок пока нет
  • Unit 02
    Unit 02
    Документ63 страницы
    Unit 02
    ankit bose
    Оценок пока нет
  • Intro To PHP
    Intro To PHP
    Документ27 страниц
    Intro To PHP
    Leobert Canales Jr
    Оценок пока нет
  • PHP Script - PHP
    PHP Script - PHP
    Документ40 страниц
    PHP Script - PHP
    Urmil Verma
    Оценок пока нет
  • What Are The Differences Between Get and Post Methods in Form Submitting. Give The Case Where We Can Use Get and We Can Use Post Methods?
    What Are The Differences Between Get and Post Methods in Form Submitting. Give The Case Where We Can Use Get and We Can Use Post Methods?
    Документ68 страниц
    What Are The Differences Between Get and Post Methods in Form Submitting. Give The Case Where We Can Use Get and We Can Use Post Methods?
    anon-968529
    Оценок пока нет
  • Introduction PHP
    Introduction PHP
    Документ29 страниц
    Introduction PHP
    ELAVARASAN GANESAN
    Оценок пока нет
  • Internet Computing
    Internet Computing
    Документ42 страницы
    Internet Computing
    narges
    Оценок пока нет
  • PHP Questions
    PHP Questions
    Документ6 страниц
    PHP Questions
    iram fatima
    Оценок пока нет
  • html5 A PDF
    html5 A PDF
    Документ6 страниц
    html5 A PDF
    koky
    Оценок пока нет
  • 11 RFC P04
    11 RFC P04
    Документ4 страницы
    11 RFC P04
    kavya.nori
    Оценок пока нет
  • Ajava Sturts
    Ajava Sturts
    Документ26 страниц
    Ajava Sturts
    MATHS BY PULKIT DUA
    Оценок пока нет
  • PHP Functions
    PHP Functions
    Документ33 страницы
    PHP Functions
    jolieprincesseishimwe
    Оценок пока нет
  • PHP Sy Bca
    PHP Sy Bca
    Документ19 страниц
    PHP Sy Bca
    Prem Giri
    Оценок пока нет
  • Pardot API Documentation
    Pardot API Documentation
    Документ4 страницы
    Pardot API Documentation
    Prasad K
    Оценок пока нет
  • PHP
    PHP
    Документ14 страниц
    PHP
    Vishnu Kumar S
    Оценок пока нет
  • A Project Report On PHP: Submitted By: Meghna Agarwal B.Tech., 4 Yr., C.S.E
    A Project Report On PHP: Submitted By: Meghna Agarwal B.Tech., 4 Yr., C.S.E
    Документ19 страниц
    A Project Report On PHP: Submitted By: Meghna Agarwal B.Tech., 4 Yr., C.S.E
    meghnaagarwal
    Оценок пока нет
  • Unit 4
    Unit 4
    Документ11 страниц
    Unit 4
    Sonupatel Sonupatel
    Оценок пока нет
  • Section 04
    Section 04
    Документ10 страниц
    Section 04
    mrpaixa0
    Оценок пока нет
  • Ale Class II
    Ale Class II
    Документ20 страниц
    Ale Class II
    chrreddy
    Оценок пока нет
  • Module 8: PHP Form
    Module 8: PHP Form
    Документ35 страниц
    Module 8: PHP Form
    nas
    Оценок пока нет
  • What Is Loop in-WPS Office
    What Is Loop in-WPS Office
    Документ3 страницы
    What Is Loop in-WPS Office
    Make Success
    Оценок пока нет
  • AMF Services With VEGAS
    AMF Services With VEGAS
    Документ18 страниц
    AMF Services With VEGAS
    Marc Alcaraz
    Оценок пока нет
  • Module5 Forms
    Module5 Forms
    Документ19 страниц
    Module5 Forms
    gonzalezedgarphone
    Оценок пока нет
  • PHP - A Simple HTML Form
    PHP - A Simple HTML Form
    Документ14 страниц
    PHP - A Simple HTML Form
    Reza Ple
    Оценок пока нет
  • Faq's On Abap Cross Applications - Sap Abap
    Faq's On Abap Cross Applications - Sap Abap
    Документ6 страниц
    Faq's On Abap Cross Applications - Sap Abap
    Sathish Bollabattula
    Оценок пока нет
  • 7MCE3C2-Programming in PHP
    7MCE3C2-Programming in PHP
    Документ177 страниц
    7MCE3C2-Programming in PHP
    gulelat.atuu
    Оценок пока нет
  • Slides Server Side Main
    Slides Server Side Main
    Документ95 страниц
    Slides Server Side Main
    ankitpunia
    Оценок пока нет
  • Sap Abap On Hana
    Sap Abap On Hana
    Документ68 страниц
    Sap Abap On Hana
    simplycool
    Оценок пока нет
  • IWT - Module - IV
    IWT - Module - IV
    Документ47 страниц
    IWT - Module - IV
    Arpit Rath
    Оценок пока нет
  • Chapter 5 Cgi & PHP
    Chapter 5 Cgi & PHP
    Документ77 страниц
    Chapter 5 Cgi & PHP
    Efoy Tech
    Оценок пока нет
  • Chap 4 PHP
    Chap 4 PHP
    Документ121 страница
    Chap 4 PHP
    lemi
    Оценок пока нет
  • Chapter 6 PHP
    Chapter 6 PHP
    Документ57 страниц
    Chapter 6 PHP
    eliasferhan1992
    Оценок пока нет
  • PHP Interviewquestions PDF: Umar Farooque Khan
    PHP Interviewquestions PDF: Umar Farooque Khan
    Документ14 страниц
    PHP Interviewquestions PDF: Umar Farooque Khan
    Redouan AFLISS
    Оценок пока нет
  • PHP Tutorial
    PHP Tutorial
    Документ97 страниц
    PHP Tutorial
    dennieprasetyo
    Оценок пока нет
  • Accessing MySQL From PHP
    Accessing MySQL From PHP
    Документ32 страницы
    Accessing MySQL From PHP
    duylinh65
    Оценок пока нет
  • 11 Regular Expressions
    11 Regular Expressions
    Документ28 страниц
    11 Regular Expressions
    عمادالدردور
    Оценок пока нет
  • Chapter 19: PHP By: Eyad Alshareef
    Chapter 19: PHP By: Eyad Alshareef
    Документ12 страниц
    Chapter 19: PHP By: Eyad Alshareef
    عمادالدردور
    Оценок пока нет
  • Chapter 19: PHP Part 2 By: Eyad Alshareef
    Chapter 19: PHP Part 2 By: Eyad Alshareef
    Документ17 страниц
    Chapter 19: PHP Part 2 By: Eyad Alshareef
    عمادالدردور
    Оценок пока нет
  • Learning PHP By: Eyad Alshareef
    Learning PHP By: Eyad Alshareef
    Документ30 страниц
    Learning PHP By: Eyad Alshareef
    عمادالدردور
    Оценок пока нет