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

Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.

1 Answers  


What is session expiry?

0 Answers  


What is a null coalescing operator in php7?

0 Answers  


What are different types of errors available in Php?

0 Answers  


Tell me what library is used for pdf in php?

0 Answers  






Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

0 Answers  


how to use http headers inside php? Write the statement through which it can be added?

0 Answers  


What does trim () do in javascript?

0 Answers  


How to remove values saved in the current session?

0 Answers  


How do you use an array in excel?

0 Answers  


What is the apache?

0 Answers  


How can we submit a form without a submit button?

4 Answers   Agile Software,


Categories