Jump to content

Fatal error: odbc_connect()


erdomester

Recommended Posts

Hi,

I uploaded my php file and a MS Access database on a free web hosting server. However, my

code works fine on the computer (localhost/example.php), on the webserver i am getting this msg:

 

Fatal error: Call to undefined function: odbc_connect()

 

I know this is because free web hosting service providers do not authorize odbc extension.

But is there an alternative way?

Or i heard that the webserver (i am using WampServer) running on my pc can be made available for the internet.

 

Please help me.

 

Link to comment
https://forums.phpfreaks.com/topic/157383-fatal-error-odbc_connect/
Share on other sites

But is there an alternative way?

 

Contact your host and request the support. They may charge a fee to install it. Other than that no.

 

Or i heard that the webserver (i am using WampServer) running on my pc can be made available for the internet.

 

Yes, it can. But this can open up security risks to your box if not setup properly and more over your internet connection "may" not be able to handle the traffic, and if you want to run other software on the box, Office Suites/Games, this will dramatically decrease the performance of the webserver.

Yes, it can. But this can open up security risks to your box if not setup properly and more over your internet connection "may" not be able to handle the traffic, and if you want to run other software on the box, Office Suites/Games, this will dramatically decrease the performance of the webserver.

 

I dont wanna make big things. I just wanna show some friends or other people that there is an application that can be used for certain queries. E.g. there are 10000 book titles and info in the database and titles, date of publishment etc can be made queries of..so just some people would use it or its just for showing off.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.