Hi,
I've been trying to implement changes to the script - facility to upload graphic etc, but getting errors.
Whenever I run perl db.cgi - get error
syntax error at db.cgi line 188, near "else"
Execution of db.cgi aborted due to compilation errors.
I've located this to line :
flock(ID, 2) or &cgierr("unable to get exclusive lock on $db_id_file_name.\nReason: $!");
I'm none the wiser, anyone help?
Cheers
G.
George Ewing
TOP HOST LTD
I've been trying to implement changes to the script - facility to upload graphic etc, but getting errors.
Whenever I run perl db.cgi - get error
syntax error at db.cgi line 188, near "else"
Execution of db.cgi aborted due to compilation errors.
I've located this to line :
flock(ID, 2) or &cgierr("unable to get exclusive lock on $db_id_file_name.\nReason: $!");
I'm none the wiser, anyone help?
Cheers
G.
George Ewing
TOP HOST LTD