Created
June 21, 2017 07:42
-
-
Save wilon/ba8df432e57556de78724bd947246c77 to your computer and use it in GitHub Desktop.
Show warning page in Browser.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function warningPage($title, $desc) | |
{ | |
die("<!DOCTYPE html><html><body style='background-color:#ce3426;color:white;position:absolute;left:30%;top:30%;'><h1>$title</h1><pre>$desc</pre></body></html>"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment