RE: How to do this 06-15-2014, 04:14 PM
#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


![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)