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)... Link to comment https://forums.phpfreaks.com/topic/24798-local-host-question/ 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. Link to comment https://forums.phpfreaks.com/topic/24798-local-host-question/#findComment-112980 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) Link to comment https://forums.phpfreaks.com/topic/24798-local-host-question/#findComment-116256 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.