Jump to content


Photo

local host question


  • Please log in to reply
2 replies to this topic

#1 something

something
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 23 October 2006 - 02:19 AM

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)...

#2 Firemankurt

Firemankurt
  • Members
  • PipPipPip
  • Advanced Member
  • 56 posts
  • LocationWashington State

Posted 23 October 2006 - 05:07 AM

try surf to : http://www.whatsmyip.org/

This will give you your ip address.

#3 something

something
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 29 October 2006 - 02:05 PM

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 http://www.phpfreaks...-System/523.php

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)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users