How many ways I can redirect a PHP page?
Answer Posted / rani
By using header
<?php
header('Location: http://www.example.com/');
?>
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why do we use sessions in php?
What is difference between rest api and restful api?
How to open a file for reading?
How can you tell if a number is even or odd without using any condition or loop?
What is the difference between the include() and require() functions?
Is a number php?
What is in php 7?
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
What is traits? How it is used in php?
Are php short tags acceptable to use?
How to include variables in double-quoted strings in php?
Tell me how can I display text with a php script?
What is the use of return in php?
Is echo a function in php?
How to connect to mysql from a php script?