Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-06-23, 01:12 AM   #1
mudsnake
WHO IS FONZY!?! Don't they teach you anything at school?
 
mudsnake's Avatar
 
Join Date: Jun 2005
Posts: 44
Question 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
__________________

Muds Erotic Sluts
mudsnake is offline   Reply With Quote
Old 2005-06-23, 02:01 AM   #2
mudsnake
WHO IS FONZY!?! Don't they teach you anything at school?
 
mudsnake's Avatar
 
Join Date: Jun 2005
Posts: 44
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
__________________

Muds Erotic Sluts
mudsnake is offline   Reply With Quote
Old 2005-06-23, 02:05 AM   #3
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
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.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-06-23, 02:11 AM   #4
SinSational
Shut up brain, or I'll stab you with a Q-tip!
 
SinSational's Avatar
 
Join Date: Jan 2005
Location: Boston, MA
Posts: 119
Send a message via ICQ to SinSational Send a message via AIM to SinSational
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"
SinSational is offline   Reply With Quote
Old 2005-06-23, 03:51 AM   #5
mudsnake
WHO IS FONZY!?! Don't they teach you anything at school?
 
mudsnake's Avatar
 
Join Date: Jun 2005
Posts: 44
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....
__________________

Muds Erotic Sluts
mudsnake is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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