Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
print "Sorry the file you were looking for does not exist.<br>\n";
// Now we can capture info
$visitor_ip = $_SERVER['REMOTE_ADDR'];
// Get browser
$browser = $_SERVER['HTTP_USER_AGENT'];
// Send an email to admin
$subj = "404 on my domain";
$msg = "A 404 error has on my site<br>
Open in new window
ErrorDocument 404 /404.php
<?xml version="1.0" encoding="UTF-8"?>
<body> ... data here </body>
// LIST OF THE ERRORS THAT MAY BE REPORTED IN $_FILES["error"] (THERE IS NO #5)
$errors = array
( 0 => "Success!"
, 1 => "The uploaded file exceeds the upload_max_filesize directive in php.ini"
, 2 => "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form"
, 3 => "The uploaded file was only partially uploaded"
, 4 => "No file was uploaded"
, 5 => "UNDEFINED ERROR"
, 6 => "Missing a temporary folder"
, 7 => "Cannot write file to disk"
Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.