[Help] About Website

04/06/2012 09:31 nabil011#1
[Only registered and activated users can see links. Click Here To Register...]


can i ask , why be like this , and this my config
[Only registered and activated users can see links. Click Here To Register...]
04/06/2012 11:38 XxFearReaperXx#2
The reason the config is like that is to allow access to your database.
so you can register/change password/etc.
04/06/2012 12:24 nabil011#3
how to make it ? please , i so noob .. :(

it not allow me to register , it can , but it no direct to database ..
04/06/2012 18:01 delinquent#4
You need to set your localhost, username, password and database name in order to make it connect to your database.
04/06/2012 18:59 nabil011#5
what u mean ? i think it same . same like other server my dbname

topic closed !! my xammp error ... use appserver better ,, thx all
04/07/2012 14:25 XxFearReaperXx#6
Code:
<?php
	require_once ' ./inc/class.captcha.php';
	//Config
	$myhost="localhost";   		// where your database is located at
			   		// If you are hosting the website on a different IP address than you put your own here.
	$mypass="test";         		// Database Password (the password you used for winmysqladmin1.4 and navicat to access the database
	$myuser="root";	   		// Database Username (The username you used for winmysqladmin1.4 and Navicat to access the database
	$mydbacc="account"; 		// The database the players account information is stored in. Usually "my" or "account" depending on servers
	$mydbdata="my";     		// Database in which the player data is stored (example: cq_user) It does not change unless you change the name of the "my" database
	$serveraddres="localhost"; 		// Your outgoing IP address. Visit http://www.ipmonkey.com or IPmonkey.com to see this address
	$serverport=3306;			// Do Not Change This. This is your Server Port for Mysql and Navicat
	$mydb="my"; 			// Main Server Database. Do Not Change Unless you changed the name of the "my" folder
		$servername = "YOUR SERVER NAME";    // The Name Of Your Server Here
		$link = "WEBSITE HERE"     // One of two things go here. either your IP address or the Website name you made. You can use No-IP.com or any other DNS hosting site pending on IP Address Type
	// Do Not Edit After This Line
	mysql_connect ($myhost, $myuser, $mypass);
	mysql_select_db($mydb);
?>
Do Not Use This As Your Config. Its just a mock up to show you what goes where and how to edit. Use as Reference Only nabil
04/09/2012 03:35 nabil011#7
thanks buttheway , i already can run , just xampp wrong setup .. i use appserver and it run with no problem ... thx