http://www.perlmonks.org?node_id=113125


in reply to Why does my query work on the command line, but fail in my browser?

One possibility (seen all too often) is that your webserver invokes your perl script in a different environment from the one you're using.

For example, if you're using Oracle, making sure that ORACLE_HOME is set makes a difference

Have a look in your servers log files: with luck it'll pinpoint the problem.

  • Comment on Re: Why does my query work on the command line, but fail in my browser?