How could i have to handle errors in php header() function
I am using the following line in my php script,
header("Location: http://ServerMcName:7080/server/settings.php")
its just redirect to another machine's php page.
if that machine(ServerMcName) is not running or web server is not yet started, how should i have to handle error in php.
any help would be appreciated.