![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] why won't my PHP program update my ACCESS database on the Server? I am developing some PHP programs for a website. I've been developing locally on my laptop using Apache. Locally, I can access, insert, and modify the tables in my ACESS database. When I uploaded everything to the server, I can still acess the database to get info, but when I try to insert or update different tables I get a NULL return from odbc_exec. Does anyone have suggestions? |
| |
| |||
| Don't forget to create a ODBC DNS on your server (under the Control Panel). The ODBC configuration is "per computer", you have to set it up on each computer. Also, make sure that the IIS (or Apache) user has Write access to the DB. Then, make sure that your Access database is accessible from both locations. If you have 2 database, you'll make them point to 2 different locations (but be careful when you program to make sure that any changes on your laptop DB is replicated to your server DB). |
![]() |
| Thread Tools | |
| Display Modes | |
| |