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: [Only registered and activated users can see links. Click Here To Register...]
Scan: Found nothing
Scan URL: [Only registered and activated users can see links. Click Here To Register...]
You will need:
mysql server ([Only registered and activated users can see links. Click Here To Register...])
mssql server ([Only registered and activated users can see links. Click Here To Register...])
apache server ([Only registered and activated users can see links. Click Here To Register...])(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:
NOTE: Webpage:
Example:
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: [Only registered and activated users can see links. Click Here To Register...]
Enter your ACCOUNT NAME! (not character name!)
Have fun !!!!!!!!!!!!!!
Bugs, errors, comments, complaints, .... POST IT HERE, DONT MAKE A NEW TOPIC !
[Only registered and activated users can see links. Click Here To Register...]
-------------------------------------------------------------------------------------
Bugs:
mssql_connect Bug:
Error msg: Fatal error: Call to undefined function mssql_connect()
Fix:
Open php.ini file
Find ;extension=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 [Only registered and activated users can see links. Click Here To Register...].
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:
to:
Instead in the XAMPP Shell, you can also change the password with phpMyAdmin, and then adjust the phpMyAdmin configuration.
Its a little tricky but it should be easy
Name: Vote Script (php)
Download: [Only registered and activated users can see links. Click Here To Register...]
Scan: Found nothing
Scan URL: [Only registered and activated users can see links. Click Here To Register...]
You will need:
mysql server ([Only registered and activated users can see links. Click Here To Register...])
mssql server ([Only registered and activated users can see links. Click Here To Register...])
apache server ([Only registered and activated users can see links. Click Here To Register...])(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 Code:
//----------------------------------------------------------
$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"
);
//----------------------------------------------------------
Example:
PHP Code:
$webpage = "http://www.xtremetop100.com/in.php?site=1132286514";
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: [Only registered and activated users can see links. Click Here To Register...]
Enter your ACCOUNT NAME! (not character name!)
Have fun !!!!!!!!!!!!!!
Bugs, errors, comments, complaints, .... POST IT HERE, DONT MAKE A NEW TOPIC !
[Only registered and activated users can see links. Click Here To Register...]
-------------------------------------------------------------------------------------
Bugs:
mssql_connect Bug:
Error msg: Fatal error: Call to undefined function mssql_connect()
Fix:
Open php.ini file
Find ;extension=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 [Only registered and activated users can see links. Click Here To Register...].
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 Code:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
PHP Code:
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'secret';