You are here: ODBC connect possible from CLI but not web!? « PHP SQL « IT news, forums, messages
ODBC connect possible from CLI but not web!?

Posted by Christian Rasmussen on 09/30/00 11:18

Hi,


I connect via ODBC to an economic system, works fine from a windows
commandline with this script:

<?
odbc_connect("name", "", "");
?>

But if I execute it in a browser via the Apache webserver (2.0.54) I get:

Warning: odbc_connect(): SQL error: [Simba][SimbaEngine ODBC Driver][DRM
File Library]General error., SQL state S1000 in SQLConnect in
C:\html\test.php on line 2

I don't understand why there is a difference, I just installed PHP and
Apache on this Windows XP workstation - any ideas? I read in the php.ini
that no dll's were required anymore for ODBC...!?


Best regards,
Christian Rasmussen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация