Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP - Database (MSAccess) Can not sleep!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, PHP-Profies!
Pleace HELP me!
Haven’t being sleaping for 3 nights because of PHP.
The Problem is: can not access my PHP to Database.
With CodeCharge have made wonderfull form with connect to MSAccess database.
Under apache it works great, but nothing happen on remote server.
Have made the steps like follow:
1. In System DSN made database like New, driver to MSAccess with connect to localhost’s folder with my xxx.mdb. named like XXX
2. In CC :
a) General: PHP4.0
b) Publish: FTP, Pass Mode, folder data, mylogin, pass, windows
c) Database: DSN Data sourse: XXX login: admin Pass:
Database name:XXX host: IP of my server, myserver’s login, myserver’s Password
DatabaseType: ODBC, Pers Conn., Ansi SQL
3. xxx.mdb have FTP-ed to same folder.

„On air” can see only text boxes with „All” label and texts with blue bgrds (from „Events” example). Even Images instead – only squears (with links). From login page (I know where image should be ) can not go futher note appear like follow:
Fatal error: Call to undefined function: odbc_pconnect() in / on line 35
It’s srange, coz my adress is: And the db_odbc.inc is plased in Maybe will be better to make in ASP? But only script appear on site.
Use Windows XP with MSOfficeXP, but have tryed Win ME as well- no result.
Please help me anybody.
Any note will be usefull for me!!!
Can drop directly webmadzsar@citynet.hu

Thanks a lot
Sanyi
 
Madzsar,

> but nothing happen on remote server

> Fatal error: Call to undefined function: odbc_pconnect()

Obviously, your remote server is not set up for ODBC connections. It is probably running PHP in Linux, or Unix, instead of Windows, so ODBC is not enabled by default.

You might not be able to use Access as a database on your remote server at all. Does the server have any other database enabled on it? What operating system and webserver software are running on the server? -------------------------------------------

"Calculus is just the meaningless manipulation of higher symbols"
                          -unknown F student
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top