Help - Search - Members - Calendar
Full Version: Help: Access Database From A Website That Is Not On This Server
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
just J
i made a form to input information into the database hosted here.. im kind of knewb to php/mysql but I dont want to upload the form page to this host because i dont know how to password protect the page and i dont want people to be able to access the form page because then they could enter in bogus information into the database

what I want is to access the page that i host on my computer (which i can already do) and when i submit the form have it connect to this database (hosted here) and add the information

on this code

CODE
$con = mysql_connect("DO I PUT MY WEB LINK HERE(i.e. onestop.99k.org)", "onestop_99k_org_DB", "password");


this is the error i get when i try it

"Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'onestop.99k.org' (10061) in C:\wamp\www\OneStopAP\edit.php on line 56
Could not connect: Can't connect to MySQL server on 'onestop.99k.org' (10061)"

If its not possible to access this database from another website then that would answer my question but if there is a way to access this database from another website then could someone plese explain how to do it?

additional notes: wamp is "online" and my code works with my localhost and my local database..
just J
no worries.. i went another route with it and i think it will hold up
Tom
Just for the record, we don't allow remote connections.
just J
security reasons... understandable
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.