Neu user

Alles, was PHP betrifft, kann hier besprochen werden.

Neu user

Postby marshal » 05. September 2006 12:12

Hi, i just started to learn php and I don't knoh hou to confiugure XAMPP very well. Can somebody helm me becouse I nead to configure the php script so its sends the user name and other information likehost, password and database to the MySQL server

wher do i get this information or wher do i configure it???
marshal
 
Posts: 12
Joined: 05. September 2006 12:04

Postby Wiedmann » 05. September 2006 12:39

Can somebody helm me becouse I nead to configure the php script

Your own Script?

so its sends the user name and other information likehost, password and database to the MySQL server

If yes, just read the PHP manual... IMHO you search for mysql_connect() and mysql_select_db().
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby marshal » 05. September 2006 12:50

the script has no problems
i don't know wher to find the user name, host name, and password
or wher do i set them up
$sql_host ='xxx';
$sql_user ='xxx';
$sql_db ='xxx';
$sql_password ='xxx';
marshal
 
Posts: 12
Joined: 05. September 2006 12:04

Postby Wiedmann » 05. September 2006 12:57

$sql_host ='xxx';

normally "localhost"

$sql_user ='xxx';
$sql_password ='xxx';

From the XAMPP readme:
readme_en.txt wrote:PASSWORDS

1) MySQL

user: root
password:
(means no password!)

(Or you can make a new user with phpMyAdmin.)

$sql_db ='xxx';

You can make a new database with phpMyAdmin.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby marshal » 05. September 2006 16:31

and if i want to use a db made in acces how do I use thath?

I know this may seam stupid but this is my first time ever usin db and php
marshal
 
Posts: 12
Joined: 05. September 2006 12:04

Postby Wiedmann » 05. September 2006 17:00

and if i want to use a db made in acces how do I use thath?

Then you can use the ODBC functions.

(But don't ask me how... no idea)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby marshal » 06. September 2006 07:57

thanks a lot, hope I can figure it out
marshal
 
Posts: 12
Joined: 05. September 2006 12:04


Return to PHP

Who is online

Users browsing this forum: No registered users and 7 guests