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


Please Help Members By Posting Answers For Below Questions

Why php is sometimes called as embedded scripting language?

482


Define soundex()?

510


What is preg_match?

540


Write a program in php to reverse a number?

542


What is lamp in php?

531






Explain me what is the use of header() function in php?

619


How do you parse and process html/xml in php?

550


Is php a framework?

519


Is php dead 2019?

539


Write a program to display a table of any given number?

490


How to get the length of string?

569


Write logic to print Floyd's triangle in PHP?

540


Starting or restarting a computer is called

613


Which array function checks if the particular key exists in the array?

492


What is the difference between == and === operator in PHP?

464