in reply to %ENV and Javascript
if ($ENV{"HTTP_referer"} eq "http://www.mysite.com/blah.html")
{
&main;
exit;
)
else
(
print "You don't belong here";
)
i am using a spanning menu,which was written in javascript, that friend of my used on his site. when i use the menu to open on of my script the $ENV{"HTTP_REFERER"} does not get created and the if statement returns false.