I have DBD::ODBC installed using Openlink with iodbc.  Whe I run a script from the 
shell it works as is expected.  Same script yet run via a web page and it returns the 
following error.

Couldn't connect to database[OpenLink][ODBC]RPC: Unknown host (SQL-08004)
[OpenLink][ODBC]Connection rejected by data source (SQL-08004)(DBD: 
db_login/SQLConnect err=-1) at /home/httpd/cgi-bin/hafa.pl line 18.

What could I be doing wrong ?

##############�
print "\n Welcome to NEPP";$�=1;while ($�){
print "\n$�";$�++;if ($� == 1000) {
print "\n$�"."\nWell almost never ending :�";exit;}}
##############�

Reply via email to