SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Sending Data  Using an Online Form CISIWEB 430A
Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
<html> <head> <title>Chapter 3 - Parsing Data</title> </head> <body bgcolor=&quot;#FFFFFF&quot;> <form action=&quot;http://myServer/parse2.cgi&quot; METHOD=POST> Comment <input type=&quot;text&quot; name=&quot;myComment&quot;> <p> <input TYPE = &quot;submit&quot; value = &quot;Submit&quot;> <input TYPE = &quot;reset&quot; VALUE = &quot;Start Over&quot;> </p> </form> </body> </html> #!/usr/bin/perl use CGI qw(:standard); print &quot;Content-type: text/html&quot;; print &quot;<HTML><HEAD><TITLE>Chapter 3&quot;; print &quot; - Output</TITLE></HEAD><BODY>&quot;; print param('myComment'); print &quot;</BODY></HTML>&quot;;
Planning the script ,[object Object],[object Object],[object Object]
Accessing Form Data ,[object Object],[object Object],[object Object],[object Object]
Creating the Form ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Get vs. Post ,[object Object],[object Object]
Including special characters ,[object Object],[object Object],[object Object],[object Object],[object Object]
Using printf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Parts of a format field ,[object Object],[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (7)

CAT CGI Trucks
CAT CGI TrucksCAT CGI Trucks
CAT CGI Trucks
 
Indigo Ga Aqua
Indigo Ga AquaIndigo Ga Aqua
Indigo Ga Aqua
 
Cooley Blues
Cooley BluesCooley Blues
Cooley Blues
 
Indigo Storyboards Comps 2010
Indigo Storyboards Comps 2010Indigo Storyboards Comps 2010
Indigo Storyboards Comps 2010
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Ähnlich wie Sending data in cgi

Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
Manish Sinha
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
webhostingguy
 
Xhtml Part2
Xhtml Part2Xhtml Part2
Xhtml Part2
nleesite
 
OWASP Top 10 : Let’s know & solve
OWASP Top 10 : Let’s know & solveOWASP Top 10 : Let’s know & solve
OWASP Top 10 : Let’s know & solve
Harit Kothari
 

Ähnlich wie Sending data in cgi (20)

Lecture3
Lecture3Lecture3
Lecture3
 
Component and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHPComponent and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHP
 
HTML5 Web Forms
HTML5 Web FormsHTML5 Web Forms
HTML5 Web Forms
 
Vb.Net Web Forms
Vb.Net  Web FormsVb.Net  Web Forms
Vb.Net Web Forms
 
Forms With Ajax And Advanced Plugins
Forms With Ajax And Advanced PluginsForms With Ajax And Advanced Plugins
Forms With Ajax And Advanced Plugins
 
Website Integration with QuickBase - Joshua McGinnis
Website Integration with QuickBase - Joshua McGinnisWebsite Integration with QuickBase - Joshua McGinnis
Website Integration with QuickBase - Joshua McGinnis
 
forms.pptx
forms.pptxforms.pptx
forms.pptx
 
Web Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) SlidesWeb Developement Workshop (Oct 2009) Slides
Web Developement Workshop (Oct 2009) Slides
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptx
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2
 
Dynamic Struts Forms
Dynamic Struts FormsDynamic Struts Forms
Dynamic Struts Forms
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART III.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART III.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART III.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART III.pdf
 
Xhtml Part2
Xhtml Part2Xhtml Part2
Xhtml Part2
 
Html forms
Html formsHtml forms
Html forms
 
Ssi
SsiSsi
Ssi
 
ASP.NET 10 - Data Controls
ASP.NET 10 - Data ControlsASP.NET 10 - Data Controls
ASP.NET 10 - Data Controls
 
KMUTNB - Internet Programming 4/7
KMUTNB - Internet Programming 4/7KMUTNB - Internet Programming 4/7
KMUTNB - Internet Programming 4/7
 
OWASP Top 10 : Let’s know & solve
OWASP Top 10 : Let’s know & solveOWASP Top 10 : Let’s know & solve
OWASP Top 10 : Let’s know & solve
 
ASP_NET Features
ASP_NET FeaturesASP_NET Features
ASP_NET Features
 

Mehr von Chaffey College (20)

Strings Objects Variables
Strings Objects VariablesStrings Objects Variables
Strings Objects Variables
 
Ruby Chapter 2
Ruby Chapter 2Ruby Chapter 2
Ruby Chapter 2
 
Social networks and games
Social networks and gamesSocial networks and games
Social networks and games
 
Serious games
Serious gamesSerious games
Serious games
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
The games factory 2 alien wars
The games factory 2 alien warsThe games factory 2 alien wars
The games factory 2 alien wars
 
Target markets
Target marketsTarget markets
Target markets
 
Ch 8 introduction to data structures
Ch 8 introduction to data structuresCh 8 introduction to data structures
Ch 8 introduction to data structures
 
Ch 8 data structures in alice
Ch 8  data structures in aliceCh 8  data structures in alice
Ch 8 data structures in alice
 
Ch 7 recursion
Ch 7 recursionCh 7 recursion
Ch 7 recursion
 
Intro to gml
Intro to gmlIntro to gml
Intro to gml
 
Power point unit d
Power point unit dPower point unit d
Power point unit d
 
Power point unit c
Power point unit cPower point unit c
Power point unit c
 
Power point unit b
Power point unit bPower point unit b
Power point unit b
 
Power point unit a
Power point unit aPower point unit a
Power point unit a
 
Gamegraphics
GamegraphicsGamegraphics
Gamegraphics
 
Gamesound
GamesoundGamesound
Gamesound
 
Ch 6 text and sound in alice
Ch 6 text and sound in aliceCh 6 text and sound in alice
Ch 6 text and sound in alice
 

Sending data in cgi

  • 1. Sending Data Using an Online Form CISIWEB 430A
  • 2.
  • 3. <html> <head> <title>Chapter 3 - Parsing Data</title> </head> <body bgcolor=&quot;#FFFFFF&quot;> <form action=&quot;http://myServer/parse2.cgi&quot; METHOD=POST> Comment <input type=&quot;text&quot; name=&quot;myComment&quot;> <p> <input TYPE = &quot;submit&quot; value = &quot;Submit&quot;> <input TYPE = &quot;reset&quot; VALUE = &quot;Start Over&quot;> </p> </form> </body> </html> #!/usr/bin/perl use CGI qw(:standard); print &quot;Content-type: text/html&quot;; print &quot;<HTML><HEAD><TITLE>Chapter 3&quot;; print &quot; - Output</TITLE></HEAD><BODY>&quot;; print param('myComment'); print &quot;</BODY></HTML>&quot;;
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.