describe arguments in header in php?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php full form?

738


Why would we use === instead of ==?

8583


Please explain is it possible to use com component in php?

753


How long is a php session valid?

758


What is the best way to change the key without changing the value of a php array element?

742


What is get and post method in php?

741


What is the difference server side and browser side validation?

694


Do you know how to delete a file from the system?

749


What types of MYSQL function available for affecting columns

743


Which is best framework for php?

761


Is php better than java?

737


Explain the advantages of using PHP?

749


Who created numbers?

713


What is empty php?

735


Explain me how failures in execution are handled with include() and require() functions?

791