so I started making my own server and it's up and running, now when I downloaded a base website off this forum, I configure it in config.ini(here's my config.ini):
PHP Code:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="password (I blocked this out ofc)"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="127.0.0.1 (for now)"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername="EudemonsRevolution";
$page = basename($_SERVER['SCRIPT_FILENAME']);
$page = str_replace('_',' ',$page);
$page = str_replace('.php','',$page);
$page = ucfirst($page);
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
Here are the common ones:
Code:
Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 20 Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 20 Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 21 Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 21 Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\xampp\htdocs\config.php on line 21
Regards, killersub.







