Page is a not externally linkable
carfac - 4:52 pm on Sep 7, 2002 (gmt 0)
Probably not the place for perl questions, so sorry if this is inappropriate... I wrote this: $visitor_ua = $ENV{'HTTP_USER_AGENT'}; and inserted above the logging part of the trap... look good? dave [edited by: carfac at 5:56 pm (utc) on Sep. 7, 2002]
Hi:
if ($visitor_ua =~ 'WAP') {
print "Content-type: text/html\n\n";
print "<html>\n";
print "<head>\n";
print "<title>Forward On</title>\n"; print "</head>\n";
print "<body>\n";
print "<p><b>Please <A HREF="http://www.mydomain.com/">Click Here</A> to continue!</b></p>\n";
print "</body>\n";
print "</html>\n";
exit;
}
else {
CODE
}