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

What is polymorphism?

0 Answers  


How to get ip address of clients machine?

0 Answers  


How do you destroy a particular or all Sessions?

0 Answers  


What is api used for?

0 Answers  


What u mean by query?

0 Answers  






Why do we need session?

0 Answers  


Which is better #define or enum?

0 Answers  


How to add 301 redirects in PHP?

0 Answers  


Can you use both this () and super () in a constructor?

0 Answers  


What is difference between strstr() and stristr()?

0 Answers  


Why many companies are switching their current business language to php? Where php basically used?

0 Answers  


Who is the father or inventor of php?

0 Answers  


Categories