Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Need help with php (http://www.greenguysboard.com/board/showthread.php?t=21191)

mudsnake 2005-06-23 01:12 AM

Need help with php
 
Can anyone give me a good idea on how to install a php script. Heres were I am at
Edit file: config.php and change the values to match your server
$DBhost = "localhost"; // Host name
$DBuser = ""; // Database user name
$DBpass = ""; // Database password
$DBname = ""; // Database name
What do I change these to?
The first one has me totaly ignorant and the next three I believe I know. To be honest I am not even sure if I have created a empty data base like it asked to do. If it helps I am using h2o hosting with C-Panel.
I am new to any type or programming and trying to learn on my own, so if you can explain it as simple as possible that would be great.
Thanks in advance

mudsnake 2005-06-23 02:01 AM

so what is the local host/ host name...if I can figure out what this is I think I may be able to install it

cd34 2005-06-23 02:05 AM

In your control panel, you should be able to create a database. When you create that database in the control panel, it'll ask you for a database name, username and password. Whatever you enter there will need to go into the config file that you are editing.

SinSational 2005-06-23 02:11 AM

Quote:

Originally Posted by cd34
In your control panel, you should be able to create a database. When you create that database in the control panel, it'll ask you for a database name, username and password. Whatever you enter there will need to go into the config file that you are editing.

exactly, and leave the first one as "localhost"

mudsnake 2005-06-23 03:51 AM

Well shit It will not work anyway.. There's some kind of program the script needs, some kind of zen decoder...I did get it figured out and Thankyou guys for the input..I did both things as stated above... I atleast I got the script installed it just didn't work like it was meant to with out that decoder...But at least now I have a little more dangerous knowledge to use..now to find another That I might be able to get to work..I'll be back if I have any more question I am sure of it..and Thanks again
Goal: for the day Install a scipt that actually works.... |yawn|


All times are GMT -4. The time now is 08:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc