Hi,
The following code in add.cgi which I enabled a few weeks ago after I started receiving submissions from people posting data from external forms, give an error to WINDOWS NT users.
# Check the referer.
# if (@db_referers and $ENV{'HTTP_REFERER'}) {
if (@db_referers) {
$found = 0;
foreach (@db_referers) {
$ENV{'HTTP_REFERER'} =~ /$_/i and $found++ and last;
}
if (!$found) {
&site_html_login_add_failure ("You will need to visit our website to add your entry.");
return;
}
}
Is there a fix for this so I can stop external users from submitting forms but don't want to lose clients visting our site but are using NT systems?
Thanks
The following code in add.cgi which I enabled a few weeks ago after I started receiving submissions from people posting data from external forms, give an error to WINDOWS NT users.
# Check the referer.
# if (@db_referers and $ENV{'HTTP_REFERER'}) {
if (@db_referers) {
$found = 0;
foreach (@db_referers) {
$ENV{'HTTP_REFERER'} =~ /$_/i and $found++ and last;
}
if (!$found) {
&site_html_login_add_failure ("You will need to visit our website to add your entry.");
return;
}
}
Is there a fix for this so I can stop external users from submitting forms but don't want to lose clients visting our site but are using NT systems?
Thanks