No connection to online database

From: Date: Mon, 27 Nov 2000 21:20:52 +0000
Subject: No connection to online database
Groups: php.db 
Request: Send a blank email to php-db+get-4783@lists.php.net to get a copy of this message
Hi there! I set up Apache/PHP4/MySQL on Win98 and created an HTML form to insert data into a table in the mySQL database runnung on "localhost". This works pretty fine. I then changed the hostname in the mysql_connect() command to an online server (sql.kdt.de -> command : 'mysql_connect("sql.kdt.de", "user", "pass")') with appropriate username and password (works, too, ich checked it with mysql.exe). When I click "Post" on my form to insert the data into the database, there is a success message (I inserted several errormessages as well) but no data is inserted into the database (I also have appropriate rights to insert data) and according to my modem lights, no data is transmitted from me to the online database. Where is the problem? Seems like PHP does not connect form my local webserver to the internet, but why? Can anyone help me on that? Hendrik Busch ------------------------------------------------------------ EMail : h.m.busch@web.de Home : www.loneguard.de ICQ# : 27299819 Leader of the "Out-Of-Sync"-Clan (http://www.out-of-sync.de) Supporter of "Free Speech Internet" (http://www.eff.org) "In a world without walls and fences, who needs windows and gates?"

« previous php.db (#4783) next »