\n"; print " jphone's Emoji Detection \n"; print "\n"; print "
\n"; } function dmesg() { print "Please input Emoji from here:
\n"; print "
\n"; print "\n"; print "\n"; print "\n"; } function detect($message) { $ff = chr(27); if(eregi($ff, $message)) { print "You input Emoji, right?
\n"; } else { print "You did not input Emoji, right?
\n"; } print "The input character is:" . $message . "
\n"; dmesg(); } ######## # Main # ######## print_head(); if(!$message) { dmesg(); exit; } else { detect($message); exit; } ?>