Login Register


When logged in it redirects, how to? filter_list
Author
Message
RE: How to do this #7
(06-15-2014, 04:07 PM)BlueCat Wrote:
(06-15-2014, 04:06 PM)Ex094 Wrote: Using the header function

Code:
header("Location: hackcommunity.com");

Do I place that anywhere in the php code? or?

Yes! for example:

Code:
if ($url == "Google") { header("Location: http://www.google.com"); } else { //Redirect somewhere else }

You can use it where ever you want
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply





Messages In This Thread
When logged in it redirects, how to? - by BlueCat - 06-15-2014, 04:03 PM
When logged in it redirects, how to? - by BlueCat - 06-15-2014, 04:03 PM



Users browsing this thread: 1 Guest(s)