![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2003
Location: Toronto
Posts: 2,999
|
PHP redirection code ? Anyone?
anyone can paste it?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
header(location: http://www.domain.com);
gotta use it before anything is outputed to the screen though, including html tags. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2003
Location: Toronto
Posts: 2,999
|
thanks
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Don't forget to add an exit(); after the header() otherwise it will still exe<b></b>cute the rest of the script.
header("Location: domain.com"); exit; EDIT: Pretty gay that "exec<b></b>ute" is a censored word. |
![]() |
![]() ![]() ![]() ![]() ![]() |