• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Dekaron Vote Script

Newbie Spellweaver
Joined
Dec 23, 2008
Messages
46
Reaction score
29
With help of some other scripts i found a way to do it, vote ;)
Its a little tricky but it should be easy

Name: Vote Script (php)
Download:
Scan: Found nothing
Scan URL:


You will need:

mysql server ( )
mssql server ( )
apache server ( )
(Xampp may have mysql installed, but there is a bug, read below)

OK little tutorial: ;)

Make sure you have MYSQL (not mssql) (it should come with XAMPP)

1. Open your database manager for mysql (not mssql !)

----- There are many ways to use MySQL but if you installed XAMPP you will use "phpmyadmin"

2. Create a new database called "vote"
3. Open phpmyadmin
4. At the top you will see "import"
5. Select your vote.sql file
6. Press "GO"


----- Now you should have 2 tables in your vote database
----- Called: "Log" and "users"

If that is done, go to your "vote.php"
Open it with your editor

Edit the following:

PHP:
//----------------------------------------------------------
$coins = 25; //25 coins
$webpage = "YOURLINK";

// mssql 
	$mssql = array(
	'host' => "localhost",
	'user' => "sa",
	'pass' => "YOURPASSWORD"
	);
	
// mysql
	$mysql = array(
	'host' => "localhost",
	'user' => "root",
	'pass' => "YOURPASSWORD",
	'db'   => "vote"
	);
	
//----------------------------------------------------------
NOTE: Webpage:

Example:
PHP:
$webpage = "http://www.xtremetop100.com/in.php?site=1132286514";

NOTE: do not change 'db' => "vote" unless you created a mysql database for your vote script with a other name

Save your "vote.php"
Upload vote.php"
Upload "votenow.php"

TIP: can be a small popup (not recommended)

go to your site and look for "votenow.php"
or:

Enter your ACCOUNT NAME! (not character name!)


Have fun !!!!!!!!!!!!!!

Bugs, errors, comments, complaints, .... POST IT HERE, DONT MAKE A NEW TOPIC !



-------------------------------------------------------------------------------------

Bugs:


mssql_connect Bug:
Error msg: Fatal error: Call to undefined function mssql_connect()

Fix:
Open php.ini file
Find ;php_mssql.dll
Delete prefix ";"




Cant enter password for mysql:(Xampp)
Its seems you cant enter or modify your mysql password, here is how to:

Fix:

How I can set a "root" password in MySQL? (method 1)
The easiest way is to use the security console, which you can access at .

This "console" creates a password for the MySQL user "root" and is adjusting the phpMyAdmin configuration.


How I can set a "root" password in MySQL? (method 2)
With the"XAMPP Shell" (command prompt) you can also change the password. Open the shell and execute this command:
mysqladmin.exe -u root password secret

Of course, your password should not be "secret", too. In the next step you must adjust the phpMyAdmin configuration for this new password. In the file "\xampp\phpMyAdmin\config.inc.php" change the lines:
PHP:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
to:
PHP:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'secret';

Instead in the XAMPP Shell, you can also change the password with phpMyAdmin, and then adjust the phpMyAdmin configuration.
 
Last edited:
Back
Top