Login Register


When logged in it redirects, how to? filter_list
Author
Message
When logged in it redirects, how to? #1
Like HC when you log in, It re-directs you to the index page, How would you do that?







Reply

When logged in it redirects, how to? #2
Like HC when you log in, It re-directs you to the index page, How would you do that?







Reply

RE: How to do this #3
Using the header function

Code:
header("Location: hackcommunity.com");
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: How to do this #4
Using the header function

Code:
header("Location: hackcommunity.com");
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: How to do this #5
(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?







Reply

RE: How to do this #6
(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?







Reply

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

RE: How to do this #8
(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

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

Thanks Man!







Reply

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

Thanks Man!







Reply







Users browsing this thread: 1 Guest(s)