Jump to content

Search the Community

Showing results for tags 'php'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community
    • M2Dev
    • Offtopic
    • Games Talk
    • Music / Videos / Art
    • Member Representations
    • Services & Sales
  • Metin2
    • General
    • Questions and Answers
    • Frequently Asked Questions
    • Private Servers
    • Videos
  • Suggest a Tutorial / Release
    • Suggest a Tutorial / Release
    • Temporary forum
  • Releases
    • General
    • Guides & HowTo
    • Tools
    • Programming & Scripts / Systems
    • Maps
    • Quests
    • Binaries & Clients / ServerFiles
    • 3D Models
    • 2D Graphics
    • Operating Systems


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start







Steam ID













Found 32 results

  1. ByLost

    Service PHP

    Hi Devs Paid to develop a script in PHP. Thanks.
  2. System for drawing items for points The look is exemplary, if you want prettier and more functional, write to me. https://github.com/Alerinos/M2-System-Carousel For the system to work, you need to connect to your base (class, function, etc.). They are marked as TODO Setting: $c->price = 100; // Number of points needed for the draw $c->items([ // List of items to be won. [ID, Promil] (percentage * 10) [100100, 500], [100200, 500], [100000, 500], [100300, 200], [100400, 200], [100500, 100], [30270, 100], [50255, 100], [50256, 100], [50257, 100], [50258, 100], [50259, 100], ]); Instruction Do you need a quest, system or www? Write to me, I can create everything. (Full STACK, Web (PHP, JS, SQL, HTML, CSS), Server (C ++, Python, Lua)) Discord Alerin#5559
  3. Hello, I have many services for sale WWW Panel A tool to combine two databases into one Quest Launcher My github, I will often upload cool systems for free. You can watch me. https://github.com/Alerinos Discrod: Alerin#5559 I also work as a programmer for hours, I can create everything you need. Main stack: PHP, JS (node, react etc.), SQL I can use in: C ++, Python, LUA, IOS Applications, Android If you pay, I can learn even assembler
  4. System to turn on/off/restart the server together with online status and time This is the free version, I also have a premium with colors, the ability to control each channel separately and browse syserr/syslog. https://github.com/Alerinos/M2-WWW-Status-Server Do you need a quest, system or www? Write to me, I can create everything. (Full STACK, Web (PHP, JS, SQL, HTML, CSS), Server (C ++, Python, Lua)) Discord Alerin#5559
  5. I think someone will be useful, the list of bonuses in two languages as one file. (If anyone wants, I can automatically translate in his language) https://github.com/Alerinos/M2-WWW-Bonus Example: use M2\Bonus; $bonus = new Bonus(Bonus::APPLY_ATT_SPEED); // bonus name or ID $bonus->lang = 'en'; echo $bonus->translation; echo $bonus->name; echo $bonus->id; I can create scripts / systems in PHP on request.
  6. Hello everybody, Since someone asked me about injections in Metin2CMS (targeted CMS: https://metin2cms.cf/), I quickly looked at the code of the CMS mentioned. I also noticed a critical exploit that enables code injections. The file include\functions\sendEmail.php contains the following code: $site_name = $_SERVER['SERVER_NAME']; if ($site_name == 'localhost' || $site_name == '') $site_name = 'metin2cms.cf'; As of Apache 2, $_SERVER['SERVER_NAME'] can be transmitted from the client to the server via the http header Host (like for $_SERVER['HTTP_HOST'] too). An email is sent in the same file using PHPMailer and the sender is set as follows: $mail->SetFrom($email_name . '@' . $site_name, $site_title); The script include\mailer\PHPMailer.php validates the sender as follows: if (!empty($this->Sender) and static::validateAddress($this->Sender)) { if (self::isShellSafe($this->Sender)) { $params = sprintf('-f%s', $this->Sender); } } The validateAddress function uses FILTER_VALIDATE_EMAIL according to RFC 822, which is not sufficient to check e-mails. The isShellSafe function uses escapeshellcmd, which prevents additional commands from being executed, but it is still possible to pass additional parameters / flags that allow the execution of PHP code. I wrote with Ionut and thanks to him he already released a full solution for this here: https://github.com/IonutPopescuRO/Metin2CMS/commit/b81859d7962d3054d18f1cbebff9216d3754f507 Fix: Remove: $email_name = 'noreplay'; $site_name = $_SERVER['SERVER_NAME']; if ($site_name == 'localhost' || $site_name == '') $site_name = 'metin2cms.cf'; Replace: $mail->SetFrom($email_name . '@' . $site_name, $site_title); $mail->AddReplyTo($email_name . "@" . $site_name, $site_title); With: $mail->SetFrom($email_username, $site_title); $mail->AddReplyTo($email_username, $site_title); Btw, i would not suggest setting the variable through Apache using ServerName and UseCanonicalName. These variables should not be used in productive environments. Hope it helps. Also thanks to @martysama0134 who reached out to him.
  7. 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
  8. 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)
  9. Hello MT2Dosyalar ! I want to share a system developed by MT2Dosyalar. System I saw on a first in Turkey! First of all, the Register / Registration system in Classic Server Panels works as follows! In the form of username, password, mail, security question. What distinguishes this recording system from the others is that you can do the operations on the client via the panel! Properties -------------- 1) You Will Choose the Flag of Your Account When You Register 2) You will be asked to choose a character (warrior, sura, ninja, shaman) 3) You will be asked to choose the type of your character (Girl / Boy) 4) You will be asked to Name the character you have created in the Game (Character Name in the Game) 5) You will be asked for Mail, Username, Security Password! SETUP ------------- 1) Login to Navicat. You will create a new database. Name: mt2dosyalar Then you will throw it into settings.sql 2) Login to Navicat account> drop account.sql here in the file you downloaded 3) Log In Navicat player> Throw player.sql here in the file you downloaded 4) Settings in the main directory will be edited. 5) kayit-sistemi/ayarlar.php will be edited UPDATE # 1 ------------------------ Open bilgi.php and replace it with the following to show the number of people who have registered to Beta after registration UPDATE # 2 ----------------------------- To add a countdown after recording (Example: xx days xx hours xx minutes xx seconds then MT2 files will be opened) Replace Bilgi.php completely UPDATE # To activate the character delete code when registering Open icerik.php and replace it with Then open sonicerik.php and replace it completely with this code DOWNLOAD LİNK : https://www.mediafire.com/file/1bbzdfcrtlevfj3/MT2Dosyalar-Register_2.rar/file CODER İNFO : https://forum.mt2dosyalar.com/threads/mt2dosyalar-beta-web-kay%C4%B1t-sistemi-2020.327/
  10. <?php class SocketConnection { private $m_socket; private $m_recv_buf; public function __construct() { $this->m_socket = 0; $this->m_recv_buf = ""; } public function Connect($host, $port, $timeout) { $this->m_socket = fsockopen($host, $port, $errno, $errstr, $timeout); if (!$this->m_socket) { echo(sprintf("%s (%d)<br>\n", $errstr, $errno)); return false; } return true; } public function Recv($len) { $this->m_recv_buf = fread($this->m_socket, $len); } public function Send($buf) { fwrite($this->m_socket, $buf); } public function GetRecvBuf() { return $this->m_recv_buf; } } class GameConnector { private $m_socketConnector; public function __construct($host, $port) { $this->m_socketConnector = new SocketConnection; if (!$this->m_socketConnector->Connect($host, $port, 5)) return false; $this->m_socketConnector->Recv(32); $recvBuf = $this->m_socketConnector->GetRecvBuf(); if (ord($recvBuf[0]) != 253) { echo("GameConnector does not handle this packet!"); return false; } } public function Send($str) { $this->m_socketConnector->Send("@".$str."\n"); $this->m_socketConnector->Recv(64); } public function GetBuffer() { return $this->m_socketConnector->GetRecvBuf(); } } $host = ""; //ip adresi $port = 13000; // port $api = new GameConnector($host, $port); $api->Send("sjefjfhsfjkfs1"); // p2p şifre $api->Send("NOTICE Web Uzerinden Bildirim Yolla Testi 2"); // Komut $apiBuf = substr($api->GetBuffer(), 0, -1); if(empty($apiBuf)) { echo "Game did not respond"; exit; } if(is_numeric($apiBuf[0])) { $userCount = explode(" ", $apiBuf); echo sprintf("Total[%d] %d / %d / %d (this server %d)", $userCount[0], $userCount[1], $userCount[2], $userCount[3], $userCount[4]); exit; } if($apiBuf=="UNKNOWN") echo "Command send and executed no custom response"; else echo $apiBuf; ?> source
  11. Hey guys, I'm using .htaccess file with rewrite rules and I got stuck. I have this link: https://example.com/new/ - here I have the index.php file (which is redirected to https://example.com/new/assests/ where I have header.php and footer.php these files contain links to webpage files which are located in https://example.com/new/pages/ and I need to read them without the .php extension. I need to edit the links in the header.php and footer.php like this: And here I'm stuck. When I edit it like above, it won't load the team.php located in /new/pages/ folder. My .htaccess contain these lines: I'll be really glad if someone can help me. I didn't find any solution for this problem. Thanks for answers! Sincerely, ReFresh
  12. Hello friends, I will show you my new item shop. Functions: Multi-language: EN, RO, FR, IT, PT, TR, DE, ES Category Management Items Management Add objects with time (both unique items and costume) Add items for a short time (promotion) Reducing a price for a certain amount of time Add bonus items (the player chooses the desired bonuses) Add items with specific bonuses Add items with stones Images: Video: Price: 10 EURO - The compatible version with Metin2CMS 15 EURO - The independent version of Metin2CMS. Site presentation: https://v2.metin2cms.cf/shop/ Contact me: Skype: ionutpopescu10 Facebook: https://www.facebook.com/IonutPopescu.Ro/ Pagina de contact: https://metin2cms.cf/contact
  13. 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
  14. 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.
  15. i need web and java developer contact skype: xxdarkwindxx
  16. 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?
  17. 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.
  18. teschio

    php WEBSITE

  19. 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
  20. 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.
  21. 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
  22. 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
  23. 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.
  24. 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();
  25. 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,
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.