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
Which framework is best for php?
What is isset function in php?
What is $_session in php?
What is instantiation?
How to check your php installation?
What are the correct and the most two common way to start and finish a PHP block of code?
What is $_ request in php?
What is a php namespace?
write a note on Testing the web site
What is the main function of php?
How do functions work?
What is php date function?
Which is useful for method overloading?
Explain the difference between static and dynamic websites?
What is the difference between myisam and innodb?