PHP Programming Part 11: Redirecting Web Pages with Header Function in PHP04:33

  • 0
Published on May 5, 2017

Info
Level: Intermediate
Presenter: Eli the Computer Guy
Date Created: Jan 11, 2013
Length of Class: 11:08
Tracks
PHP Programming
Prerequisites
Familiarity with PHP Programming
Purpose of Class
This class teaches students how to use the Header() function in PHP to redirect web site visitors to a specific web page.

Class Notes
You cannot output any data to the screen before you call the Header() function.
The Syntax of the function is:
header(“location: ./thank_you.php”);
Replace ./thank_you.php with the page you want to redirect the user to.
Resources

Enjoyed this video?
"No Thanks. Please Close This Box!"