in reply to CGI and DBI

If you're getting timeouts, maybe it just takes too long? Try running the script from the command line, to see if it actually works at all?

C.

Replies are listed 'Best First'.
Re^2: CGI and DBI
by howarda (Acolyte) on Nov 29, 2004 at 15:44 UTC
    Hi, I can run the script from the command line which runs successfully after about 4 seconds.
    I thought the issue was with my personal firewall but I have switched that off now and that has made no difference.
      Did you do as I suggested and trim your script down to just display a message and NOT do the database stuff? Doing this will reveal whether your problem is webserver permissions related. Get your bare-bones cgi script (that just displays a message) to work in the browser first, and *THEN* try adding in the database stuff.
        Hi, I tried the trimmed down version of the code and this works ok. Thanks