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

Tell me what is the definition of a session?

976


How arrays are used in php?

998


What is abstract class in php?

968


Explain how we can retrieve the data in the result set of mysql using php?

920


How can you retrieve a cookie value?

1014


How to create a mysql connection?

912


What is cookie in php with example?

896


How to get ip address of clients machine?

912


Are parent constructors called implicitly inside a class constructor?

910


Is php procedural or oop?

931


Why php is used in html?

902


How is a constant defined in a PHP script?

973


What is the main difference between php 4 and php 5?

935


What is the difference between indexed and associative array?

968


What is the use of preg_match in php?

938