<?php
/**
* @author Wokel
* @version 1.4 released date: "17.04.2013"
* @comment I hope you like it :)
*/
/**
* mysql database hostname
*/
define("MYSQL_HOST", "l2kingworld.ddns.net"); //Change the Host here
/**
* mysql username to connect to the database server
*/
define("MYSQL_USERNAME", "root"); //Change the Username here
/**
* mysql password the password to connect to the database server
*/
define("MYSQL_PASSWORD", "root"); //Change the Password here
/**
* mysql database the database name in which you have your vote table setup
*/
define("MYSQL_DATABASE", "l2jdb"); //Change the Database here
/**
* vote url this is the url which where users will be sent to on voting
*/
define("VOTE_URL", "http://vgw.hopzone.net/site/vote/88903/1"); //Change the Voting Page you want here
/**
* The number of hours between voting
*/
define("VOTE_HOURS", 0);
/**
* connect() this function is used to connect to the mysql database server.
*/
function connect()
{
if (!@mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD))
die("Could not connect to mysql database: " . mysql_error());
if (!@mysql_select_db(MYSQL_DATABASE))
die("Could not select mysql database: " . mysql_error());
$tables = mysql_list_tables(MYSQL_DATABASE);
while (list($temp) = mysql_fetch_array($tables)) {
if ($temp == "votes") {
pedes ti alages prepi na kano na min mou vgazi error
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\htdocs\vote.php:40 Stack trace: #0 C:\Apache24\htdocs\vote.php(106): connect() #1 {main} thrown in C:\Apache24\htdocs\vote.php on line 40
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Did I stop working of the project all those years you fkn moron?
Next time you go to buy bread tell the baker you had payed him in the past.
Fkn morons...
Everything is already explained and you play dumb AF.
https://l2jmobius.org/forum/index.php?topic=3230
The only shitty thing here is your brain.
You only read what you want and you feel offended by what I said.
You called the leaked project a trash, a shit, whatever you wish to, and you call your latest revision the best ever, I want to point out for example, I am a subscriber since 2018 and I stop in 2024 august let's say, and I contnue to work on your 2024 august revision, all this years I payd for your subscription in the end I am left with trash, shitty files and I need to pay again just to get the last revision to own something good? EXPLAIN ME THIS PLEASE
Question
L2KingWorld
pedes ti alages prepi na kano na min mou vgazi error
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\htdocs\vote.php:40 Stack trace: #0 C:\Apache24\htdocs\vote.php(106): connect() #1 {main} thrown in C:\Apache24\htdocs\vote.php on line 40
Edited by L2KingWorld3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.