The HTTP_USER_AGENT is displayed but not the REFERER. Thanks in advance.#!/usr/bin/perl print ("Content-type: text/html\n\n"); print "<HTML><HEAD><TITLE>Environment Variables</TITLE></HEAD><BODY>"; print "<p><b>$ENV{'HTTP_USER_AGENT'} $ENV{'HTTP_REFERER'}</b></p>"; print "</BODY></HTML>"; open(FILE,">>testdata"); print FILE "\nHere"; close (FILE);
In reply to HTTP_REFERER by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |