describe arguments in header in php?



describe arguments in header in php?..

Answer / seem, delhi

header() function has three arguments

1)string:Required. Specifies the header string to send
2)replace: Optional. Indicates whether the header should
replace previous or add a second header. Default is TRUE
(will replace). FALSE (allows multiple headers of the same type)
3)http_response_code:Optional. Forces the HTTP response code
to the specified value

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More PHP Interview Questions

Tell me how is it possible to remove escape characters from a string?

0 Answers  


What is the best way to test the strpos() return value in php?

0 Answers  


Which is better session or cookie?

0 Answers  


What is the difference between $argv and $argc? Give example?

0 Answers  


what is the abbrevation of PHP?

22 Answers   IBM,






Write a program to show the joining of two strings in php?

0 Answers  


what method is used to generate a random number?

4 Answers  


Do you know what is php?

0 Answers  


What is meant by public, private, protected, static and final scopes?

0 Answers  


What is difference between action hook and filter hook?

0 Answers  


What is the integer?

0 Answers  


What is array filter php?

0 Answers  


Categories