druss
01-23-2003, 09:58 PM
i dont know why the hell the following dont work?
if ($details[2] eq "down") {
if ($refferer =~ m"$corehost[0]" || $refferer =~ m"$corehost[1]") { &download; }
}
for some reason when i have the if statements alone they work fine but when there together like this it acts as if its false, when it actually should return true??
ALSO: i have executed the script through the meta refresh tag. does this effect the refferer in any way?
Thanks
Goran
if ($details[2] eq "down") {
if ($refferer =~ m"$corehost[0]" || $refferer =~ m"$corehost[1]") { &download; }
}
for some reason when i have the if statements alone they work fine but when there together like this it acts as if its false, when it actually should return true??
ALSO: i have executed the script through the meta refresh tag. does this effect the refferer in any way?
Thanks
Goran