Jump to content
metin2dev
Metin2International

Search the Community

Showing results for tags 'php'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Discord


Skype


ICQ


Yahoo


Location

Found 23 results

  1. Hello community. i had some free time so and i did this. is not something special but someone might want to use it Download: Mega You put your database information on include/dbconfig. You put your client download link on index.php variable: $DownloadLink IF something not work good just report it here and i will fix it.
  2. teschio

    php Webdeveloper & java developer

    i need web and java developer contact skype: xxdarkwindxx
  3. Optimus

    php Metin2CMS v2.11

    Author: Ionuț ( me ) Size: 3.54 MB Version: v2.11 Type: Open-Source Features: Modern design with elements in bootstrap (v4 alpha 3), admin panel (currently in beta), member panel (currently basic systems), update system, registration, general settings in the admin panel, offline system (if the server is offline, notifications will be displayed, also the last copy of the top site), database of news is sqlite, settings files are in json. Language: English & Romanian Preview: Download: https://metin2cms.cf/v2 Documentation : https://metin2cms.cf/v2/documentation/ Install: Just edit config.php with your datas. CMS is not completely. It will be updated. I expect criticism / opinions / advice constructive. To report an error: https://ionut.work/contact Tutorial: how to add login with Google reCAPTCHA: https://metin2cms.cf/tutorials
  4. How can I by a status wait until the e-mail is confirmed, ie .. will only be able to log in when confirming the e-mail?
  5. Hey guys, i've been working lately on metin2 website and i finally finished it. This website is completely running securely using php and PDO not mysql like other sites i have seen. it only needs you to change to design of it and it will be ready to use you can download the files from this link http://www.mediafire.com/file/hp2zd05ad0j2bk7/website.zip and if anyone needs any help to setup this website just contact me on skype : john.dark95 or facebook : https://www.facebook.com/Juvie.SecTheater best wishes to you all.
  6. oncemoron

    php MAINTENANCE website

    Hello guys, i create maintenance website for your server. Download link: + config file
  7. teschio

    php WEBSITE

    I SEARCH ONE PEOPLE MAKE MY WEBSITE+ITEMSHOP I PAY FOR IT CONTACT ME LANGUAGE: PHP / HTML / JS / CSS
  8. Distraught

    Equipment viewer for web + converter

    Hey guyz, I didn't find it anywhere so coded a new one. 1. Upload the files to your site. 2. Change IP and DB login data in the PHP file 3. Upload your item_list.txt and icon folder next to the PHP file. (convert all tga to png with the converter attached) 4. Call the PHP file xy.php?name=charactername (you can use like an iframe for ranklist, whatevs) Here's a converter too: Put your icon folder next to the exe and execute it. It will convert all tga image to png without changing the folder construction. All files are in the attachment.tga_to_png.rar eq_viewer_by_Distraught.rar
  9. Hi guys. As the title says, i'm having a problem installing some features on my server, for my website. Every time i try to install apache or php i have to write "make install" or "make install clean" or "make...something" i get: "/usr/ports/Mk/bsd.port.mk", line 1043: Unknown directive Unknown modifier 't' Variable .CURDIR is recursive.
  10. Hi guys, I'm searching solution for my code. I need to include character names which account contain from database to <select> and <option> tag. Then I need to do button which will debug selected character name from created (select and option) dropdown "menu". There's my code: http://pastebin.com/nWP5Vtgy I will be glad if someone can help me. There's example how it will looks: PS: I know, I'm using old PHP version. Thanks for answers! Sincerely, ReFresh
  11. Hi guys, I need to select time from this column. I tried to do it with this code but I'm wasn't successful: I got this error: And I need to get the time with this variable: If someone can help me I will be glad Thanks for answers! Regards, ReFresh
  12. Hey guys today i have a nice upload for you all.Today i would like to release the Loyal Metin2 Homepage! Live Preview : http://loyalmt2.com/ Download Link :https://www.mediafire.com/?rhbjfogj65u87gg
  13. ondry

    [RELEASE]MT2GRAND

    Hi, Im releasing my metin2 cms. Reason: few people made refund after paying me on paypal (i'm not using this stupid system for selling stuffs anymore) Features: Almost everything customizable in administration - no programming knowledge required Highly secured (CMS is using PDO driver instead of mysql_ function, bruteforce protection, anti flood protection) Responsive template (bootstrap) Almost every user actions on web are logged You can choose if you want to use classic php email function or SMTP server Built-in ticket system Referral system Coupons Itemshop - you can enable discount action, let users change quantity of item, add normal item / premium Easy to translate language (all strings are in 1 file) SEO friendly links (yoursite.com/team instead of yoursite.com?page=team) Automatic paypal payment script, paysafecard and amazon code payment scripts And many others... (see screenshots) Screenshots: http://goucko.cz/grand/ I didn't implement installation script, so you must install it manually (tutorial in readme.txt) If you like my CMS, you can donate me on paypal - https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YZBSXKU3RUXZ2 Don't remove my copyright, please. Download link: http://test.goucko.cz/grand_FINAL.rar Scan: https://www.virustotal.com/en/file/f4af61d96ed71667c84bb4fb9e0264f90c42cc202db2711025aee93e44558464/analysis/1451329199/ EDIT: Bugfix 1 - Rename file "inc/classes/securimage.class.php" to "Securimage.class.php" (first letter need to be uppercase)
  14. Hi everyone! Im looking for a trustful programmer who can make my psd design to a complete website with hennink's cms (without bugs) in english. I will send a picture of the website in pm and then we will talk about the price. Kind regards Ive found a coder.
  15. Hello, I try to delete an item from inventory of a player. Problem it's tie for commit of source. How can commit manually in php. My code: $player->beginTransaction(); $stmt = $player->prepare("DELETE FROM item WHERE owner_id=?"); $stmt->bindParam(1, $id, PDO::PARAM_INT); $stmt->execute(); $player->commit();
  16. If there is anyone to fix my Loginbar.inc,php The syserr is PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home4/bitusealokin/public_html/inc/loginbar.inc.php on line 30 And the script <?PHP if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) { ?> <table style="margin:20px auto;" id="loginnav"> <tr> <td><?PHP echo ''.$_SESSION['user_coins'].''; ?> Coins</td> </tr> <tr><td><a href="?s=itemshop">Itemshop</a></td></tr> <tr><td><a href="?s=voten">Vote 4 Us</a></td></tr> <tr><td><a href="?s=spenden">Spenden</a></td></tr> <tr><td><a href="?s=passwort">Daten</a></td></tr> <tr><td><a href="?s=charaktere">Charaktere</a></td></tr> <tr><td> <a href="?s=logout">Ausloggen</a></td></tr> </table> <?PHP } else { if((isset($_POST['loginbtn']) && ($_POST['loginbtn']=="Login" || $_POST['loginbtn']=="login") )) { if(!empty($_POST['userid']) && !empty($_POST['userpass']) && checkAnum($_POST['userid']) && checkAnum($_POST['userpass'])) { $password = mysql_real_escape_string($_POST['userpass'])."fdmaklehg2l34"; $sqlCmd = "SELECT id,login,coins,web_admin,email FROM account.account WHERE login LIKE '".mysql_real_escape_string($_POST['userid'])."' AND password=PASSWORD('".$password."') LIMIT 1"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if(mysql_num_rows($sqlQry)>0) { $getAdmin = mysql_fetch_object($sqlQry); $_SESSION['user_id'] = $getAdmin->id; $_SESSION['user_name'] = $getAdmin->login; $_SESSION['user_admin'] = $getAdmin->web_admin; $_SESSION['user_coins'] = $getAdmin->coins; $_SESSION['user_email'] = $getAdmin->email; $updateIP = mysql_query("UPDATE account.account SET web_ip='".mysql_real_escape_string($_SERVER['REMOTE_ADDR'])."' WHERE id='".mysql_real_escape_string($getAdmin->id)."'",$sqlServ); //echo SuccessMessage("Sie haben sich erfolgreich eingeloggt und werden nun weitergeleitet."); echo'<meta http-equiv="refresh" content="0; URL=index.php?s=login"> '; } } } ?> <form action="?s=login" method="POST"> <input placeholder="Benutzername" class="input" name="userid" type="text" size="30" maxlength="30" /> <input placeholder="Passwort" class="input" name="userpass" type="password" size="30" maxlength="40" /> <input type="submit" value="Login" class="button" name="loginbtn"> <input value="Reset" type="reset"/> <br/><br/> <a href="?s=lostpw">Passwort vergessen?</a><br/> <a href="?s=register">Du hast noch keinen Account?</a> </form> <?PHP } ?>Im even whealing to pay for it . just to get it fixed Thanks in advance,
  17. Bituse

    Website Login Error

    Hello Folks i have a error from my website i dont know what to do about it PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home4/bitusealokin/public_html/inc/loginbar.inc.php on line 30 <?PHP if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) { ?> <table style="margin:20px auto;" id="loginnav"> <tr> <td><?PHP echo ''.$_SESSION['user_coins'].''; ?> Coins</td> </tr> <tr><td><a href="?s=itemshop">Itemshop</a></td></tr> <tr><td><a href="?s=voten">Vote 4 Us</a></td></tr> <tr><td><a href="?s=spenden">Spenden</a></td></tr> <tr><td><a href="?s=passwort">Daten</a></td></tr> <tr><td><a href="?s=charaktere">Charaktere</a></td></tr> <tr><td> <a href="?s=logout">Ausloggen</a></td></tr> </table> <?PHP } else { if((isset($_POST['loginbtn']) && ($_POST['loginbtn']=="Login" || $_POST['loginbtn']=="login") )) { if(!empty($_POST['userid']) && !empty($_POST['userpass']) && checkAnum($_POST['userid']) && checkAnum($_POST['userpass'])) { $password = mysql_real_escape_string($_POST['userpass'])."fdmaklehg2l34"; $sqlCmd = "SELECT id,login,coins,web_admin,email FROM account.account WHERE login LIKE '".mysql_real_escape_string($_POST['userid'])."' AND password=PASSWORD('".$password."') LIMIT 1"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if(mysql_num_rows($sqlQry)>0) { $getAdmin = mysql_fetch_object($sqlQry); $_SESSION['user_id'] = $getAdmin->id; $_SESSION['user_name'] = $getAdmin->login; $_SESSION['user_admin'] = $getAdmin->web_admin; $_SESSION['user_coins'] = $getAdmin->coins; $_SESSION['user_email'] = $getAdmin->email; $updateIP = mysql_query("UPDATE account.account SET web_ip='".mysql_real_escape_string($_SERVER['REMOTE_ADDR'])."' WHERE id='".mysql_real_escape_string($getAdmin->id)."'",$sqlServ); //echo SuccessMessage("Sie haben sich erfolgreich eingeloggt und werden nun weitergeleitet."); echo'<meta http-equiv="refresh" content="0; URL=index.php?s=login"> '; } } } ?> <form action="?s=login" method="POST"> <input placeholder="Benutzername" class="input" name="userid" type="text" size="30" maxlength="30" /> <input placeholder="Passwort" class="input" name="userpass" type="password" size="30" maxlength="40" /> <input type="submit" value="Login" class="button" name="loginbtn"> <input value="Reset" type="reset"/> <br/><br/> <a href="?s=lostpw">Passwort vergessen?</a><br/> <a href="?s=register">Du hast noch keinen Account?</a> </form> <?PHP } ?>Thats the Login script .
  18. Hi guys, I'm having a bit of a trouble in freebsd running php files. heres the view of a php file from the browser: Heres my httpd.conf: <IfModule dir_module> <IfModule php5_module> DirectoryIndex index.php index.html </IfModule> <IfModule !php5_module> <IfModule php4_module> DirectoryIndex index.php index.html </IfModule> <IfModule !php4_module> DirectoryIndex index.php index.html </IfModule> </IfModule> </IfModule> php.conf: <IfModule mime_module> <IfModule php4_module> AddType application/x-httpd-php .php </IfModule> <IfModule php5_module> AddType application/x-httpd-php .php </IfModule> </IfModule> apache is already running... How can I fix this? Thx in advance.
  19. I request to close this Topic. The platform is going back to development stage.
  20. Hello Guys, Today i will release (mabe is already public) a system that count's Player's Online and Account's. I have also make a system that counts Account's with kingbom allocation. It is like this: and the code: Player's Online: <?PHP $ip = $serverSettings['server_ip']; $output = mysql_query("SELECT COUNT(*) as count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;"); $playerCount = mysql_fetch_array($output); ?> <div class="allPlayers"><font size="4">Player's Online:</font> <span class="countHighlight"><font size="4"><?php echo $playerCount['count']+0;?></font></span> <?php mysql_select_db("player"); $query = mysql_query ("SELECT * FROM player_index"); $num2 = mysql_num_rows($query); mysql_select_db("player"); $exe = mysql_query("SELECT COUNT(*) as count FROM player WHERE DATE_SUB(NOW(), INTERVAL 10 MINUTE) < last_play;"); $player_online = mysql_fetch_object($exe)->count; mysql_select_db("player"); $rots = "SELECT * FROM player_index WHERE empire NOT LIKE '2%' and empire NOT LIKE '3%' and empire NOT LIKE '[%]%';"; $rotquery = mysql_query($rots); $rotanzahl = mysql_num_rows($rotquery); mysql_select_db("player"); $gelbs = "SELECT * FROM player_index WHERE empire NOT LIKE '1%' and empire NOT LIKE '3%' and empire NOT LIKE '[%]%';"; $gelbquery = mysql_query($gelbs); $gelbanzahl = mysql_num_rows($gelbquery); mysql_select_db("player"); $blaus = "SELECT * FROM player_index WHERE empire NOT LIKE '1%' and empire NOT LIKE '2%' and empire NOT LIKE '[%]%';"; $blauquery = mysql_query($blaus); $blauanzahl = mysql_num_rows($blauquery); ?> </br> <center> <font color=#FFF><p style=text-align:center;border:none;background:none;margin-top:0px;margin-bottom:0px;><font color=#ff6a6a><font size="4">Account's:</font><font color=#FFF size="4"> <?php echo $num2;?><br><br></font> <table style="border:1px #000 solid;width:60%;margin-bottom:0px;"> <tr height="9"> <?php echo "<td width="33.054178223629%"".$rotanzahl."& ".$rotanzahl." style="background: transparent url(img/bar1.png) left top repeat-x;"</td>"; echo "<td width="33.594469764543%"".$gelbanzahl."% ".$gelbanzahl." style="background: transparent url(img/bar3.png) left top repeat-x;"</td>"; echo "<td width="33.350130130375%"".$blauanzahl."% ".$blauanzahl." style="background: transparent url(img/bar2.png) left top repeat-x;"</td>"; ?> </tr> </table> <table style="border: none;width:60%;margin-top:0px;"> <tr> <td style="text-align:center;color:#fff;"><b><center><?php echo $rotanzahl;?></b></td></center> <td style="text-align:center;color:#fff;"><b><center><?php echo $gelbanzahl;?></b></td></center> <td style="text-align:center;color:#fff;"><b><center><?php echo $blauanzahl;?></b></td></center> </tr> </table> </center> If eny of you have any problem. I am free to help you!
  21. MORTE

    help login area error

    http://i.imgur.com/kQEoAeP.png after [spoiler] <?PHP ERROR_REPORTING(0); if(!file_exists('./inc/config.inc.php')) { header('Location: install.php'); } session_name("m2hp"); session_start(); require("./inc/config.inc.php"); require("./inc/rights.inc.php"); require("./inc/functions.inc.php"); $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS); $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS); if(!is_resource($sqlServ) OR !is_resource($sqlHp)) { exit("Verbindung zur Datenbank fehlgeschlagen: Abbruch"); } require("./inc/head.inc.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> <script type="text/javascript" src="jsp/jquery.core.js"></script> <script type="text/javascript" src="jsp/effects.core.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#reload").click(function(){ $(".display").slideUp(1500,"",function(){ $(".display").load("inc/status.php",function(){ $(".display").slideDown(1500); }); }); }); }); </script> <title>Guerra2 | MMORPG | M2Guerra.org</title> </head> <body> <!--- MENU -----------------------------------------------------> <div id="menu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="index.php?s=cadastro">Cadastrar</a></li> <li><a href="index.php?s=downloads-jogo">Downloads</a></li> <li><a href="index.php?s=rankings">Rankings</a></li> <li><a href="/board">Forums</a></li> <li><a href="index.php?s=loja">Loja</a></li> </ul> </div> <div id="head"> <div class="clear-b"></div> <a><div class="logo hover"></div></a></div> <div id="main_top"></div> <div id="main_main"> <div style="margin-top:-30px;"> <div id="side_top">LOGIN</div> <div id="side_main"> <?php include('inc/loginbar.inc.php'); ?> </div> <div id="side_foot"></div> </div><br> <div id="side_top">TOP 10</div> <div id="side_main"> <?php include('inc/rank.inc.php'); ?><br> <a href="index.php?s=rankings">>> Komplette Rangliste</a> </div> <div id="side_foot"></div> </div><br> <div id="side_top">SERVER INFO</div> <div id="side_main"> <?PHP include 'inc/statusbar.inc.php';?> <center> <div id="reload"><input type="submit" class="btn" value="Reload" name="submit"></div></center> </div> <div id="side_foot"></div> <div style="margin-top:-675px;"> <?PHP $includeDir = ".".DIRECTORY_SEPARATOR."pages".DIRECTORY_SEPARATOR; $includeDefault = $includeDir."home.php"; if(isset($_GET['s']) && !empty($_GET['s'])) { $_GET['s'] = str_replace("0", '', $_GET['s']); $includeFile = basename(realpath($includeDir.$_GET['s'].".php")); $includePath = $includeDir.$includeFile; if(!empty($includeFile) && file_exists($includePath)) { include($includePath); } else { include($includeDefault); } } else { include($includeDefault); } ?> <br><br><br> <br><br><br> <br><br><br> <br><br><br><br><br><br> <br><br><br><br><br><br> <br><br><br><br> </div></div> <div id="main_foot"></div> <div id="footer"> <p>Copyright © by <a href="./">Omega3</a>.<br> All Rights Reserved.<br> Website Design created by <a href="./">MrAiiRmaaX</a>. </p> </div> </body> </html> http://prntscr.com/5rl83a help ?
  22. Hi, I searched at google and I didn't find anything useful so I post here. Like the title says I'm trying to create a website with multi language, but I have some doubts about which way should I use, constants or a simple array with all my keys there?
  23. So last night I came up with a good idea for registration scripts, applied it and thought I would share it with you. This is a very simple yet useful modification that will tell players whether the registration system is activated, disabled, or they are already logged in. No more guessing! So basically open up your registration script - look for the line that tells users if they cannot create a new account cause they are already logged in, or the registration system is disabled, which will probably look like this: <?PHP } else { echo 'You are either already logged in, or the registration system is currently disabled.</div></div>'; } ?> And replace it with: <?PHP } else { echo 'You can not create a new account while being logged in.</div></div>'; } } else { echo 'Registration system is currently disabled.</div></div>'; } ?> And that's it.
×