mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
17 lines
408 B
Perl
Executable File
17 lines
408 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
my $agent = $ENV{HTTP_USER_AGENT};
|
|
|
|
if ($agent =~ /MSIE/)
|
|
{
|
|
print "Content-Type: text/html\n\n";
|
|
print "\<span\ class\=\"code\"\>You\'re\ using\ Microsoft\®\;\ Internet\ Explorer\®\;\ 5\.0\<\/span\>\n";
|
|
}
|
|
else
|
|
{
|
|
print "Content-Type: text/html\n\n";
|
|
print "\<span\ class\=\"code\"\>You\'re\ not\ using\ Microsoft\®\;\ Internet\ Explorer\®\;\ 5\.0\<\/span\>\n";
|
|
}
|
|
|
|
exit 0;
|