Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.