Gossamer Forum
Home : Products : DBMan : Discussions :

perl db.cgi

Quote Reply
perl db.cgi
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
Subject Author Views Date
Thread perl db.cgi tophostltd 3348 Jan 10, 2001, 6:02 AM
Thread Re: perl db.cgi
Stealth 3276 Jan 10, 2001, 6:57 PM
Thread Re: perl db.cgi
tophostltd 3258 Jan 11, 2001, 12:56 AM
Post Re: perl db.cgi
Stealth 3245 Jan 12, 2001, 9:26 AM
Thread Re: perl db.cgi
hacker 3274 Jan 11, 2001, 1:10 PM
Post Re: perl db.cgi
thom 3245 Jan 12, 2001, 9:08 AM
Post Re: perl db.cgi
Stealth 3242 Jan 12, 2001, 9:27 AM