something Posted October 23, 2006 Share Posted October 23, 2006 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)... Quote Link to comment Share on other sites More sharing options...
Firemankurt Posted October 23, 2006 Share Posted October 23, 2006 try surf to : [url=http://www.whatsmyip.org/]http://www.whatsmyip.org/[/url]This will give you your ip address. Quote Link to comment Share on other sites More sharing options...
something Posted October 29, 2006 Author Share Posted October 29, 2006 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 8Access 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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.