Greetings.
I'm a newbie, obviously. I found your boards after getting frustrated with looking for some help with a project I'm working on. I read over some of your threads and it looked like this might be the place I needed to be in order to learn more about what I'm doing with PHP.
For reference, I'm not a programmer. I'm a high school History teacher actually. I fart around on the web for fun, and I've always been interested in web pages and other neat doodads that entertain people.
Recently I've built a number of web sites to help me learn HTML. I'd like to think I did a pretty good job, and one of the web sites is actually pretty large with lots of different skills evident. I even integrated a couple of PHP and Java scripts, which I made very minor modifications to.
Now I'd like to try my hand at learning PHP. Since I don't do this for a living, having fun is key to my willingness. I've decided I'd like to try to build an RPG in PHP. One sort of like Urban Dead.
I realize that PHP may not be the best language for me to do this in, but that's where my ability level is and I like to approach things with a realistic expectation.
I really know almost nothing about PHP though, so even getting started is completely beyond me at the moment.
My hope is that I can ask a bunch of questions here and try to learn what I can to get something started, and from there perhaps pique the interest of someone that might be willing to act as a mentor to me.
And yes, I have some starter questions.
In order to learn how to build a game, I thought I'd take a look at one. I downloaded a game called Dragon Knight and I am getting ready to try to upload it it my domain and start playing it.
I figured I should know how to play it before I bother trying to figure out the code that makes it work. Makes sense, no?
Anyway, the instructions say I need to alter the data in the config.php file. No sweat. I've worked with these before. I have a set of VB boards and I'm pretty good with them, so I've tinkered with configs before.
What I don't know however, is how to find the following information:
<?php // config.php :: Low-level app/database variables.
$dbsettings = Array(
"server" => "localhost", // MySQL server name. (Default: localhost)
"user" => "", // MySQL username.
"pass" => "", // MySQL password.
"name" => "", // MySQL database name.
"prefix" => "dk", // Prefix for table names. (Default: dk)
"secretword" => ""); // Secret word used when hashing information for cookies.
?>
So I guess my question is... How do I find this information, and how do I input it such that this config file will work when I put it on my server?