Register for your free account! | Forgot your password?

You last visited: Today at 11:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] About Website

Discussion on [Help] About Website within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 129
Received Thanks: 8
[Help] About Website




can i ask , why be like this , and this my config
nabil011 is offline  
Old 04/06/2012, 11:38   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 408
Received Thanks: 231
The reason the config is like that is to allow access to your database.
so you can register/change password/etc.
XxFearReaperXx is offline  
Thanks
1 User
Old 04/06/2012, 12:24   #3
 
elite*gold: 0
Join Date: May 2008
Posts: 129
Received Thanks: 8
how to make it ? please , i so noob ..

it not allow me to register , it can , but it no direct to database ..
nabil011 is offline  
Old 04/06/2012, 18:01   #4
 
delinquent's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 28
Received Thanks: 5
You need to set your localhost, username, password and database name in order to make it connect to your database.
delinquent is offline  
Old 04/06/2012, 18:59   #5
 
elite*gold: 0
Join Date: May 2008
Posts: 129
Received Thanks: 8
what u mean ? i think it same . same like other server my dbname

topic closed !! my xammp error ... use appserver better ,, thx all
nabil011 is offline  
Old 04/07/2012, 14:25   #6
 
elite*gold: 0
Join Date: May 2009
Posts: 408
Received Thanks: 231
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
XxFearReaperXx is offline  
Old 04/09/2012, 03:35   #7
 
elite*gold: 0
Join Date: May 2008
Posts: 129
Received Thanks: 8
thanks buttheway , i already can run , just xampp wrong setup .. i use appserver and it run with no problem ... thx
nabil011 is offline  
Reply




All times are GMT +1. The time now is 11:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.