Function send_http_status
Sends an appropriate HTTP status header based on a given status code
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
integer |
$code |
The status code |
string |
$status = '' |
The string for the status. Set automatically if not provided. |