SlideShare a Scribd company logo
1 of 18
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Week Target Achieved
1 40 28
2
3
Typing Speed
Jobs Applied
# Company Designation Applied Date Current Status
1
2
3
GET METHOD AND POST
METHOD
SARBAZALI.N
sarbazalin@gmail.com
www.facebook.com/Sarbaz
ali.sarbaz
twitter.com/sarbaz_ali
in.linkedin.com/in/
9037896770
GET method
• GET Method is less secure because information sent
from a form with the GET method is visible to every
one.
• The GET Method has limits on the amount of
information to send because URL lengths are limited.
• The browser appends the data to the URL.
• The GET method can’t be used to send binary data,like
images or Word documents,to the server
• In the GET method page and encoded information are
separated by the question mark (?) sign.
• First of all we create a PHP file which is called by
the Html page later.
<html>
<body bgcolor="pink">
Welcome <?php echo $_GET["name"];?>.<br/>
You are <?php echo $_GET["class"];?> Qualified !!!
</body>
</html>
Example of GET method
• The above file is saved with the “get.php” name,which is called by
the HTML page later.
<html>
<body bgcolor="pink">
<table>
<form action=“get.php" method="get">
<tr>
<td>Name:<input type="text" name="name"/></td></tr>
<tr><td>Class :<input type="text" name="class"/></td></tr></table>
<input type="submit" value="Submit"/>
</form>
</body>
</html>
GET Method
• You will put the URL in te web browser like as:
http://localhost/FolderName/get.html.
• Now you will fill txt like as name and class.When you click on
the submit button then you will see your browser URL.
GET &POST Method
• Using the GET and POST methods , the
browser client can send data to the web
server.
• PHP the GET and POST methods are used to
retrieve information from forms , such as user
input.
• These methods are used data handling forms.
POST Method
• POST Method is Secure because information sent
from a form with the POST method is invisible to
every one.
• The POST Method has no limits on the amount of
information to send because URL lengths are
unlimited.
• The browser doesn’t append the data to the URL.
• The POST method can be used to send binary
data,like images or Word documents,to the
server
• First of all we create a PHP file which is called by
the Html page later.
<html>
<body bgcolor="pink">
Welcome <?php echo $_POST["name"];?>.<br/>
You are <?php echo $_POST["class"];?> Qualified !!!
</body>
</html>
• The above file is saved with the “post.php” name,which is called by
the HTML page later.
<html>
<body bgcolor="pink">
<table>
<form action="post.php" method="post">
<tr>
<td>Name:<input type="text" name="name"/></td></tr>
<tr><td>Class :<input type="text" name="class"/></td></tr></table>
<input type="submit" value="Submit"/>
</form>
</body>
</html>
POST Method
• You will put the URL in te web browser like as:
http://localhost/FolderName/get.html.
• Now you will fill txt like as name and class.When you click on
the submit button then you will see your browser URL.
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

More Related Content

What's hot

Data types in php
Data types in phpData types in php
Data types in php
ilakkiya
 

What's hot (20)

Web Design Issues
Web Design IssuesWeb Design Issues
Web Design Issues
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
Form Handling using PHP
Form Handling using PHPForm Handling using PHP
Form Handling using PHP
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Introduction to CSS Borders - Lesson 4
Introduction to CSS Borders - Lesson 4Introduction to CSS Borders - Lesson 4
Introduction to CSS Borders - Lesson 4
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
Data types in php
Data types in phpData types in php
Data types in php
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
 
Servlets
ServletsServlets
Servlets
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architecture
 
Loops PHP 04
Loops PHP 04Loops PHP 04
Loops PHP 04
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
CSS Lists and Tables
CSS Lists and TablesCSS Lists and Tables
CSS Lists and Tables
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
CSS3 Media Queries
CSS3 Media QueriesCSS3 Media Queries
CSS3 Media Queries
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Php mysql ppt
Php mysql pptPhp mysql ppt
Php mysql ppt
 

Viewers also liked

Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
Severalnines
 
The post methods era pdf
The post methods era pdfThe post methods era pdf
The post methods era pdf
Patrmartin
 

Viewers also liked (9)

Get_vs_Post
Get_vs_PostGet_vs_Post
Get_vs_Post
 
4. Centos Administration
4. Centos Administration4. Centos Administration
4. Centos Administration
 
Post Method Era
Post Method EraPost Method Era
Post Method Era
 
Mysql workbench 5
Mysql workbench 5Mysql workbench 5
Mysql workbench 5
 
Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
Deep Dive Into How To Monitor MySQL or MariaDB Galera Cluster / Percona XtraD...
 
The post methods era pdf
The post methods era pdfThe post methods era pdf
The post methods era pdf
 
Post method pedagogy
Post method pedagogyPost method pedagogy
Post method pedagogy
 
MySql slides (ppt)
MySql slides (ppt)MySql slides (ppt)
MySql slides (ppt)
 
The post method era
The post method eraThe post method era
The post method era
 

Similar to Get method and post method

Similar to Get method and post method (20)

Session and cookies ,get and post methods
Session and cookies ,get and post methodsSession and cookies ,get and post methods
Session and cookies ,get and post methods
 
Session,cookies and get and post methods
Session,cookies  and get and post methodsSession,cookies  and get and post methods
Session,cookies and get and post methods
 
web2_lec6.pdf
web2_lec6.pdfweb2_lec6.pdf
web2_lec6.pdf
 
Making web forms using php
Making web forms using phpMaking web forms using php
Making web forms using php
 
PPT-Presentation-of-Online-Examination-System.pptx
PPT-Presentation-of-Online-Examination-System.pptxPPT-Presentation-of-Online-Examination-System.pptx
PPT-Presentation-of-Online-Examination-System.pptx
 
Get and post,session and cookie
Get and post,session and cookieGet and post,session and cookie
Get and post,session and cookie
 
Session and cookies,get and post
Session and cookies,get and postSession and cookies,get and post
Session and cookies,get and post
 
Dev traning 2016 intro to the web
Dev traning 2016   intro to the webDev traning 2016   intro to the web
Dev traning 2016 intro to the web
 
SCWCD : The web client model
SCWCD : The web client modelSCWCD : The web client model
SCWCD : The web client model
 
Web Application Development using PHP Chapter 5
Web Application Development using PHP Chapter 5Web Application Development using PHP Chapter 5
Web Application Development using PHP Chapter 5
 
SCWCD : The web client model : CHAP : 1
SCWCD  : The web client model : CHAP : 1SCWCD  : The web client model : CHAP : 1
SCWCD : The web client model : CHAP : 1
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
 
PHP Forms PHP 05
PHP Forms PHP 05PHP Forms PHP 05
PHP Forms PHP 05
 
Web Service
Web ServiceWeb Service
Web Service
 
Session and cookies,get and post methods
Session and cookies,get and post methodsSession and cookies,get and post methods
Session and cookies,get and post methods
 
Get and post methods in php - phpgurukul
Get and post methods in php  - phpgurukulGet and post methods in php  - phpgurukul
Get and post methods in php - phpgurukul
 
Common Gateway Interface
Common Gateway InterfaceCommon Gateway Interface
Common Gateway Interface
 
ONLINE MENTOR PLATFORM PROJECT PPT-2.pptx
ONLINE MENTOR PLATFORM PROJECT PPT-2.pptxONLINE MENTOR PLATFORM PROJECT PPT-2.pptx
ONLINE MENTOR PLATFORM PROJECT PPT-2.pptx
 
HTML 5
HTML 5HTML 5
HTML 5
 
Presentation on Personal Identity Management
Presentation on Personal Identity ManagementPresentation on Personal Identity Management
Presentation on Personal Identity Management
 

More from baabtra.com - No. 1 supplier of quality freshers

More from baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Get method and post method

  • 1.
  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3. Week Target Achieved 1 40 28 2 3 Typing Speed
  • 4. Jobs Applied # Company Designation Applied Date Current Status 1 2 3
  • 5. GET METHOD AND POST METHOD SARBAZALI.N sarbazalin@gmail.com www.facebook.com/Sarbaz ali.sarbaz twitter.com/sarbaz_ali in.linkedin.com/in/ 9037896770
  • 6. GET method • GET Method is less secure because information sent from a form with the GET method is visible to every one. • The GET Method has limits on the amount of information to send because URL lengths are limited. • The browser appends the data to the URL. • The GET method can’t be used to send binary data,like images or Word documents,to the server • In the GET method page and encoded information are separated by the question mark (?) sign.
  • 7. • First of all we create a PHP file which is called by the Html page later. <html> <body bgcolor="pink"> Welcome <?php echo $_GET["name"];?>.<br/> You are <?php echo $_GET["class"];?> Qualified !!! </body> </html>
  • 8. Example of GET method • The above file is saved with the “get.php” name,which is called by the HTML page later. <html> <body bgcolor="pink"> <table> <form action=“get.php" method="get"> <tr> <td>Name:<input type="text" name="name"/></td></tr> <tr><td>Class :<input type="text" name="class"/></td></tr></table> <input type="submit" value="Submit"/> </form> </body> </html>
  • 9. GET Method • You will put the URL in te web browser like as: http://localhost/FolderName/get.html.
  • 10. • Now you will fill txt like as name and class.When you click on the submit button then you will see your browser URL.
  • 11. GET &POST Method • Using the GET and POST methods , the browser client can send data to the web server. • PHP the GET and POST methods are used to retrieve information from forms , such as user input. • These methods are used data handling forms.
  • 12. POST Method • POST Method is Secure because information sent from a form with the POST method is invisible to every one. • The POST Method has no limits on the amount of information to send because URL lengths are unlimited. • The browser doesn’t append the data to the URL. • The POST method can be used to send binary data,like images or Word documents,to the server
  • 13. • First of all we create a PHP file which is called by the Html page later. <html> <body bgcolor="pink"> Welcome <?php echo $_POST["name"];?>.<br/> You are <?php echo $_POST["class"];?> Qualified !!! </body> </html>
  • 14. • The above file is saved with the “post.php” name,which is called by the HTML page later. <html> <body bgcolor="pink"> <table> <form action="post.php" method="post"> <tr> <td>Name:<input type="text" name="name"/></td></tr> <tr><td>Class :<input type="text" name="class"/></td></tr></table> <input type="submit" value="Submit"/> </form> </body> </html>
  • 15. POST Method • You will put the URL in te web browser like as: http://localhost/FolderName/get.html.
  • 16. • Now you will fill txt like as name and class.When you click on the submit button then you will see your browser URL.
  • 17. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 18. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com