View Single Post
  #10 (permalink)  
Old 11-15-2006, 01:43 PM
Marty Marty is offline
Member
 
Join Date: Jul 2004
Posts: 450
$dbuname = "";
$dbpass = "";
$dbname = "";

These are the only bits you need to change :

So first things first, lets create a database. Open your cpanel and click on MySQL Database. The first box option on that page is for you to create a database so for example enter the name : nuke you will get a confirmation that database called nuke has been created, now click : Go Back

Next, down the bottom of that page theres a link to : phpMyAdmin

A new window will open and to the left you will find a drop down box with the word Databases in it. Drop the box and click on the name "nuke" which it what you just created.

Above that same drop down box theres an icon with sql writting across it. Click that and a new window will open, theres 3 tabs across the top select Import Files and press browse, now search your PC for the nuke version you downloaded open a folder called SQL inside that folder theres a file called nuke.sql thats what we want so click that and select open. Then finally click the button GO in the sql window.

So far you have now created a database called nuke and you have also filled the database with relavant tables. So back to the config.php file

$dbuname = "this is the username you use to enter into cpanel";
$dbpass = "this is the password you use to enter into cpanel";
$dbname = "nuke";

leave everything eles as it is, it can always be changed at a later stage but not nesassary.

As for links to your site. public_html is root of your site : ie: the files for nuke should start here or somewhere eles if prefered. Which means when you downloaded your nuke version. all the files and folders inside the html folder of your download should be placed inside public_html

If you have uploaded the actual html folder into public_html directory then all the links to your site now become www.yoursite.com/html so with regards to admin.php the link would be www.yoursite.com/html/admin.php and or anybody trying to access your site would have to goto www.yoursite.com/html thats why its best to place the contents of your downloaded html folder directly into public_html

BTW these instructions are for cpanel only. All other servers differ.
__________________
What is Pay Per Play ?
ADVERTISING has commenced!!! We have launched!!!!!!!
Reply With Quote