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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet connectivity

Status
Not open for further replies.

Impothster

Technical User
Apr 17, 2003
14
GB
I have a W2K web server (IIS) running MySQL and PHP and have set up a database containing one table. I have wriiten a simple PHP script using an HTML form to enter data into the table. I have tested locally, using the local IP address, and all works as it should (the db table is populated), however when I attempt to connect to the database from the internet (again using IP address - the static one provided by my ISP) I get the 'unable to connect' message that I wrote into the script. So an attempt is being made to look at the db on my server. My question is: For successful connection do I need to set up an ODBC connection? And if so what do I need? Alternatively, if I need to do something else entirely I would be grateful for any knowledge.
 
Ok, I have sorted it, looks like it was an internal DNS problem. Entered a host record into DNS and can now access using the website name instead of IP.

Thanks to anyone looking at this post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top