From: Sean Chittenden Date: 2002-05-24T09:05:53+09:00 Subject: Re: cannot require 'postgres' from cgi > i have a cgi program which works fine standalone and from a browser, > by adding the line > require 'postgres' > > it continues to function from the command line, but browser gives > 'doccument contains no data' error... > > the postgress module is installed and works find on the machine. the > web server (netforge) is running as me so the user is the same in both > cases, i have printed out the value of $: in both command line and > browser and they are the same, $SAFE is 0 is both cases... i am > mistified!! > > i am not DOING anything with the module, only requiring it! > > any help appreciated. Have you tried something like: lynx -mime_header http://my.host.com/script.rbx ? Why aren't you using DBI? Is there anything in the error logs? -sc -- Sean Chittenden