- Joined
- Jul 14, 2013
- Messages
- 97
- Reaction score
- 14
Hello, i just want to introduce you this system on DayZ.
SQL FILE
INSTALLATION
1. Download the .zip
2. Extract it into main WEB WWW folder (If you are not sure, just try to find clue in this post
)
3. Edit superubersecreturl.php (Put there your mysql connection)
4. Insert my .sql file into your database
Quesiton and Answers
# CONFIG #
$cnn = mysqli_connect("SQL HOST","USER","PASSWORD","DATABASE") or die("Error " . mysqli_error($link));
# MAIN FOLDER #
Are you using WAMPP?
D:\wamp\www - You can have different directories ...
Are you using XAMPP?
D:\xampp\htdocs
Do you want to use it on your webserver?
.htaccess need to be in your main directory, .php file too, but you can edit .htaccess,so it does not have to be.
The final structure should look like this
D:\wamp\www\superubersecreturl.php
D:\wamp\www\.htaccess
# Im still not sure where should i put it
Then look at this
# Should i put something in init.sqf ?
Okay, first of all you dont have to, but if you do i recommend to read this
BAD EXAMPLE
dbSelectHost "http://127.0.0.1/bss2";
GOOD EXAMPLE
dbSelectHost "http://127.0.0.1/";
Of course you can edit IP/Hostname
TESTED ON: http://forum.ragezone.com/f866/release-dayz-server-pack-0-a-1012926/
SQL FILE
Code:
CREATE TABLE IF NOT EXISTS `dayz_hive` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`lastupdate` text NOT NULL,
`playerdata` text NOT NULL,
`player` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
INSTALLATION
1. Download the .zip
2. Extract it into main WEB WWW folder (If you are not sure, just try to find clue in this post
3. Edit superubersecreturl.php (Put there your mysql connection)
4. Insert my .sql file into your database
Quesiton and Answers
# CONFIG #
$cnn = mysqli_connect("SQL HOST","USER","PASSWORD","DATABASE") or die("Error " . mysqli_error($link));
# MAIN FOLDER #
Are you using WAMPP?
D:\wamp\www - You can have different directories ...
Are you using XAMPP?
D:\xampp\htdocs
Do you want to use it on your webserver?
.htaccess need to be in your main directory, .php file too, but you can edit .htaccess,so it does not have to be.
The final structure should look like this
D:\wamp\www\superubersecreturl.php
D:\wamp\www\.htaccess
# Im still not sure where should i put it
Then look at this
To view the content, you need to sign in or register
# Should i put something in init.sqf ?
Okay, first of all you dont have to, but if you do i recommend to read this
BAD EXAMPLE
dbSelectHost "http://127.0.0.1/bss2";
GOOD EXAMPLE
dbSelectHost "http://127.0.0.1/";
Of course you can edit IP/Hostname
TESTED ON: http://forum.ragezone.com/f866/release-dayz-server-pack-0-a-1012926/
To view the content, you need to sign in or register
Last edited:

