How To Redirect Users Visitors Different Page Transfer Refer Header("Location:")
how to redirect users visitors different page transfer refer header("location:")
how, to, redirect, users, visitors, different, page, transfer, refer, headerlocation,
How To Redirect Users Visitors Different Page Transfer Refer Header("Location:")
Post Description: how to redirect users visitors different page transfer refer header("location:")
POST# 403
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: How To Redirect Users Visitors Different Page Transfer Refer Header("Location:")
ok, today i wanted to redirect my users from one page to another without them having to click on a link or something. i found out that the best way to redirect people from one page to another webpage is by using php's hearder() function. with this function, you can transfer or redirect your visitors from one page to another automatically.

so for example, lets say i want all my visitors that go to example1.php to go to example2.php automatically, this is how my example1.php file would like:

<?php
header("Location: http://www.wallpaperama.com/example2.php");
exit;
?>


so when anyone goes to http://www.wallpaperama.com/example1.php it will automatically relocate them to http://www.wallpaperama.com/example2.php


No Repies
(0) Comments for How To Redirect Users Visitors Different Page Transfer Refer Header("Location:")

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload