String found where operator expected at E:\web\holytrousers\HTML\cgi-bin\bnbform.cgi line 91, near "if ($fields{'ok_url'} ne ""
Hi Boaz- (Might be a runaway multi-line "" string starting on line 89)
(Missing semicolon on previous line?)
syntax error at E:\web\holytrousers\HTML\cgi-bin\bnbform.cgi line 91, near "if ($fields{'ok_url'} ne ""
syntax error at E:\web\holytrousers\HTML\cgi-bin\bnbform.cgi line 91, next token?
Unrecognized character \x7F at E:\web\holytrousers\HTML\cgi-bin\bnbform.cgi line 91.
------------------------
end of error message
------------------------
The relevant lines from the script itself as I uploaded it are (lines 89 - 94):
if ($fields{'automessage'} ne "") { &answer_back; }
if ($fields{'ok_url'} ne ""){
print "Location: $fields{'ok_url'}\n\n"; exit;
}
else { &thank_you; }
I'm afraid I know nothing of cgi or perl. Can you fix this line for me please?
Thanks
[edited by: jatar_k at 4:37 pm (utc) on July 31, 2003]
[edit reason] delinked [/edit]