Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many ways I can redirect a PHP page?

Answer Posted / rakesh kumar nautiyal

Page redirect
Description
If you want a PHP redirect script that redirects visitors
from a page to a specific URL then this is it. It sends the
user from one web page to a different web page address. It
is a good alternative to using the meta tag http-equiv
option.

The code

<?php/** * Place in a blank PHP page */// Change to the URL
you want to redirect to$URL="http://www.page.com";header
("Location: $URL");?>

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is learning php easy?

1017


How to check a key exist in an array?

1101


How can you retrieve a cookie value?

1085


Does mysql need php?

923


How to enable error reporting in php?

1074


Is php a dying language?

999


Explain me what is the w3c?

1127


Tell me how to create a text file in php?

990


How will you calculate days between two dates in PHP?

1083


Explain the difference between require() and require_once()?

975


How do you explain independent and dependent variables?

908


Tell me how can we pass the variable through the navigation between the pages?

1003


What is difference between ksort() and usort() functions.

934


Tell us how can we access the data sent through the url with the post method?

1002


Does facebook use php framework?

1022