in reply to writing to a database

Another way is to use a Perl CGI script to call a C program which writes to the database. I am doing that right now with Informix ESQL/C. One problem...although the Perl script returns the correct HTML output when executed from the command line as user 'web' I get a database error when I call it from CGI under Apache as the same user. Anyone know why?

Replies are listed 'Best First'.
RE: Re: writing to a database
by le (Friar) on Jun 21, 2000 at 01:08 UTC
    Of course you can write a C-Wrapper to perform the database stuff, the question is: why? I think Perl has a DBD::Informix module.