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

Published: 11 January 2013
on channel: Eli the Computer Guy
55,382
369

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
http://php.net/manual/en/function.hea...
http://www.w3schools.com/php/func_htt...


On this page of the site you can watch the video online PHP Programming Part 11: Redirecting Web Pages with Header Function in PHP with a duration of hours minute second in good quality, which was uploaded by the user Eli the Computer Guy 11 January 2013, share the link with friends and acquaintances, this video has already been watched 55,382 times on youtube and it was liked by 369 viewers. Enjoy your viewing!