note 71570 added to function.odbc-connect
| From: | haralddotangelatgmaildotcom at osu1 dot php dot net | Date: | Wed, 06 Dec 2006 14:12:11 +0000 |
| Subject: | note 71570 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120335@lists.php.net to get a copy of this message | ||
- Windows - OS
- Apache
- ODBC-Connction to MS-Access DB on a:
- Network Share
After many hours searching here´s how it works:
- Map the Network Drive where the mdb is located
- Setup System DSN in Control Panel with mapped Drive
- Open Registry at:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC_INI
- Edit the for example "M:\" to "\\server\..."
- Close Regedit
- The Apache-Service must run with a Domain (network)-User!!
- After that you can connect using:
$conn = odbc_connect('your-dsn-name','','');
hope that makes someone happy :)
bye
----
Server IP: 192.35.244.50
Probable Submitter: 80.120.131.50 (proxied: 1.0 RUDI)
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- https://master.php.net/note/edit/71570
Del: integrated -- https://master.php.net/note/delete/71570/integrated
Del: useless -- https://master.php.net/note/delete/71570/useless
Del: bad code -- https://master.php.net/note/delete/71570/bad+code
Del: spam -- https://master.php.net/note/delete/71570/spam
Del: non-english -- https://master.php.net/note/delete/71570/non-english
Del: in docs -- https://master.php.net/note/delete/71570/in+docs
Del: other reasons-- https://master.php.net/note/delete/71570
Reject -- https://master.php.net/note/reject/71570
Search -- https://master.php.net/manage/user-notes.php