Web Hosting Talk







View Full Version : PHP and MySQL DB Help


Jeremy
05-04-2003, 01:03 PM
im trying to get a guest book to work on my web site it uses php and MySQL and phpadmin

in the attachment is the file to install and i still dont under stand how-to setup a table..

Yeah im still a newbie to PHP and all it partners..

i use PHPdev its a bundle that has all sorts of thing in it
www.firepages.com.au/dev4.htm

and soon to be http://www.phpdev.com O yeah its FREE

thx 4 the help:confused:

axx2k
05-04-2003, 02:40 PM
ewww... that config file is super messy. lets try to clean it up a bit:

(20/01/2001): First public release. Installation: -------------
-) unzip the distribution file into your http documents directory.
-) create the mysql database (usually phpBook) with mysqladmin. mysqladmin -u<your_mysql_user> -p<your_mysql_pass> create phpBook
-) edit config.php
to your need's DB-TABLES-INSTALLATION auto:
-) run install.php DB-TABLES-INSTALLATION manual:
-) create the mysql tables. you have 2 options :

1) mysql -u<your_mysql_user> -p<your_mysql_pass> phpBook<phpBook.sql
2) use phpMyAdmin to run the SQL file 'phpBook.sql'

-) rename or delete install.php for security-reasons
-) CHECK php.ini for this settings register_globals = On magic_quotes_gpc = On
-) all should be ok at this point.

Administration: --------------- Enter the link with correct admin-variable in place. e.g.: http://www.domain.com/book/guestbook.php?admin=changeme (where "changeme" MUST BE the password spec. in config.php as $adminpass)


*whew* okay....

Now some questions:

Do you have a database already installed?
a table installed in the database?
a Database Username?
a Database Password?
(don't post the last two here. ;))

Just need to know where you are exactly....

Jeremy
05-04-2003, 06:36 PM
I use PHPdev

i have table installed i have no clue where to go At least i think so after all that reading it was a little messy for me...

Jeremy
05-05-2003, 02:22 PM
how many POST does it take FOR "NEWBIE" to go Away

axx2k
05-05-2003, 02:58 PM
Originally posted by vdaonline
how many POST does it take FOR "NEWBIE" to go Away


hahaha I think about 50. I just got promoted to 'WHT Addict'... Do I get a prize?? ;)

Jeremy
05-06-2003, 02:43 AM
i PM you

ilyash
05-06-2003, 07:41 PM
http://localhost ?? lol

axx2k
05-07-2003, 10:54 AM
Originally posted by ilyash
http://localhost ?? lol

That's because he hasnt touched the file yet.

Try reading the actual post before you start making fun of people who are unsure of what they should do.

... if you don't have anything productive to say..... I think you know the rest.


vdaonline: I returned your message.... did you manage to figure it out?

Jeremy
05-07-2003, 03:07 PM
some what i PM you back,

about if you can get ICQ and help me out through there
if you like i can give you the IP and if you like "USE" the BD and show me how to maintain it..

what time r u online??

Jeremy
05-07-2003, 03:27 PM
axx2k go here http://www.webhostingtalk.com/showthread.php?s=&threadid=141030

thx you

Jeremy
05-07-2003, 03:28 PM
here this where i am

Jeremy
05-07-2003, 03:29 PM
another pic to show you

Jeremy
05-07-2003, 03:30 PM
Yes newbie is GONE but im a Wannabe whats worse newbie or wannabe

that hard to answer

Jeremy
05-07-2003, 03:45 PM
what is wrong man php is some hard stuff to learn

axx2k
05-07-2003, 04:24 PM
php is only hard when you don't know the part you are doing. ;)

I sent an email to you, perhaps it got rejected... so I PM'd you with my icq number. :)