English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

You're probably thing about how blonde this question is.

I'm trying to install phpfan on my server/mySQL database so when I go to configure one of the files it asks for my local host. At first I'm thinking of my comp's IP address then the number address to my server.


if(strcmp(basename($_SERVER['PHP_SELF']),basename(__FILE__)) === 0)
{
exit('Forbidden!');
}

$host = 'localhost'; // Most likely is localhost
$dbname = ''; // (blank)
$user = ''; // (blank)
$dbpassword = ''; // (blank)

// Database tables.

$prefix = 'phpfantest';

// Wordpress integration.

// require_once('/path/to/your/wp-config.php');

// DO NOT EDIT ANYTHING BELOW THIS LINE!

$includepath = dirname(__FILE__);

?>

I really have no idea what I change on this script :/ I don't know too much about this PHP stuff.. please help!
Thanks!

2007-04-26 10:44:35 · 5 answers · asked by Blanca 3 in Computers & Internet Programming & Design

YOU'RE PROBABLY THINKING! XDDD Sorry bout the typo.

2007-04-26 10:45:20 · update #1

5 answers

Localhost is simply the machine that the script is running on. For the IP version of localhost it's "127.0.0.1", and the DNS version of it is "localhost". Hope this helped.

2007-04-26 11:43:29 · answer #1 · answered by .PANiC 5 · 0 0

Most webhosting companies use localhost for localhost, try that if it doesn't work, then hoping you have phpadmin or when you list the database you should see the local host information listed on the page. Let me know if you need any specifi help. I can help ya and offcourse not for $$$ :-)

2007-04-26 11:50:09 · answer #2 · answered by extendbolly 2 · 0 0

localhost is the computer where you install your program ....
So the IP Address is 127.0.0.1 ...
If you open your browser (Internet Explorer or Firefox) ...
and type http://localhost .... and than show some page which is interesting than you must have web server ...

in Windows the localhost is put in directory c:\Inetpub\wwww if you are using IIS ....
so just copy your wordpress directory to c:\inetpub\www

If you want to installl

you must be sure have create database in mysql ...(you must know your (username and password to open it)
for example to create database with this ....
create database wordpress;

just type in IE
http://localhost/wordpress/wp-admin

and fill your username , password anda database ....

by
http://www.gunungpring.com

2007-04-26 15:06:07 · answer #3 · answered by gunungpring 3 · 0 0

localhost i believe is the address to ur server which has the SQL .. :)

2007-04-26 10:48:46 · answer #4 · answered by Rufwon 2 · 1 0

...I'm answering not because I know the answer but just to reassure you that "blond" is not a measure of perceived intelligence...I'm not blond even though I don't know (at least in that language - ask me in javascript)

2007-04-26 10:54:29 · answer #5 · answered by fjpoblam 7 · 0 2

fedest.com, questions and answers