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
Why php is sometimes called as embedded scripting language?
Define soundex()?
What is preg_match?
Write a program in php to reverse a number?
What is lamp in php?
Explain me what is the use of header() function in php?
How do you parse and process html/xml in php?
Is php a framework?
Is php dead 2019?
Write a program to display a table of any given number?
How to get the length of string?
Write logic to print Floyd's triangle in PHP?
Starting or restarting a computer is called
Which array function checks if the particular key exists in the array?
What is the difference between == and === operator in PHP?