Save for later

Working with $_GET and $_POST in PHP

Heads up! This course may be archived and/or unavailable.

Intermediate PHP,

This course will show you how to work with PHP Superglobals such as $_GET and $_POST while using a security-conscious mindset. External inputs, like HTML forms, are considered a security vulnerability so you should always filter inputs and escape outputs. Using PHP Superglobals when using external inputs such as HTML forms, cookies, sessions, and web servers will give you a security-conscious mindset that you can apply to all of your projects.

What you'll learn
  • Build a simple HTML form
  • Use PHP Superglobals when accessing external data
  • echo variables using query strings with $_GET
  • echo variables using without query strings with$_POST
  • Filter inputs with filter_input() for various input types
  • Escape outputs with htmlentities(), htmlspecialchars(), and strip_tags()
  • Develop a security-conscious mindset for all of your projects
Segments in this Workshop

    Get Details and Enroll Now

    OpenCourser is an affiliate partner of Treehouse and may earn a commission when you buy through our links.

    Get a Reminder

    Send to:
    Rating Not enough ratings
    Length 44-minute PHP Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags PHP

    Get a Reminder

    Send to:

    Similar Courses

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile.

    PHP Wordpress Developer $49k

    Developer (PHP or Python) $64k

    PHP Developer 1 $69k

    PHP Developer/ Network Analyst $81k

    PHP Developer / Android Developer $95k

    PHP and SQL Server Developer $103k

    php devloper $113k

    Senior HTML / PHP Developer $125k

    C#/PHP Developer $130k

    Product Manager / PHP Web Developer $155k

    PHP / Actionscript Developer $162k

    Senior Technology PHP Developer Lead $202k

    Write a review

    Your opinion matters. Tell us what you think.

    Rating Not enough ratings
    Length 44-minute PHP Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags PHP

    Similar Courses

    Sorted by relevance

    Like this course?

    Here's what to do next:

    • Save this course for later
    • Get more details from the course provider
    • Enroll in this course
    Enroll Now