Jump to content

Archived

This topic is now archived and is closed to further replies.

something

local host question

Recommended Posts

I need to change the local host in

$db_host = "localhost";

to my own local host, I'm working on a remote server.  What can I give it if I can't give it the ip (unknown currently)...

Share this post


Link to post
Share on other sites
try surf to : [url=http://www.whatsmyip.org/]http://www.whatsmyip.org/[/url]

This will give you your ip address.

Share this post


Link to post
Share on other sites
While I was setting up the news script from the code examples I received this error on the index page (it is the only thing on the index page)

"Warning: mysql_connect() [function.mysql-connect]: Access denied for user '***********'@'*********' (using password: YES) in ********/public_html/index.php on line 8
Access denied for user '**********'@'**********' (using password: YES)"

The news script is here [url=http://www.phpfreaks.com/quickcode/News-System/523.php]http://www.phpfreaks.com/quickcode/News-System/523.php[/url]

Is this a problem with the table I set up or the password (the user I setup has all rights to the database with the table set up)

$db_name = "********";
Here do I put the table name or the database name? (I used the database name)

Share this post


Link to post
Share on other sites

×

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.