List out different arguments in PHP header function?
Answer Posted / rakesh kumar nautiyal
<?php
if ((isset($gender)) && ($gender == 'female')) {
header("Location:
http://allinterview.com/form/secret.php");
exit;
}
?>
<html><head><title>the inclusive page</title></head>
<body>
<h3>welcome!</h3>
Even men welcome to this page!
</body></html>
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
What are the steps for the payment gateway processing?
What is prepared statement in php?
How do I clear my browser session?
Why do we use htaccess and where?
How can we submit from without a submit button?
What is the difference between nowdoc and heredoc?
Explain the different types of errors in php.
What are the different filter functions used to filter a variable?
What is cookies php?
What is polymorphism?
Which function can be used to exit from the script after displaying the error message?
Tell me what is mean by an associative array?
Explain me what is the difference between explode() and split() functions?
How come the code works, but does not for two-dimensional array of mine?
Is php a backend?