erdomester Posted May 8, 2009 Share Posted May 8, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/157383-fatal-error-odbc_connect/ Share on other sites More sharing options...
premiso Posted May 8, 2009 Share Posted May 8, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/157383-fatal-error-odbc_connect/#findComment-829642 Share on other sites More sharing options...
erdomester Posted May 8, 2009 Author Share Posted May 8, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/157383-fatal-error-odbc_connect/#findComment-829653 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.