Brazil's biggest MU Online portal — since 2003
Topic

Php

All content about Php — 24 results.

Php

🎨
Tutorial

How to customize the MuCMS theme for your MU Online server's website

A complete guide to customizing the MuCMS visual theme: file structure, safe editing of PHP/Blade templates, color palette, integration with ranking and the shop, and best practices for not losing your customization during updates.

16 min · Intermediate ·
🌍
Tutorial

How to host your MU Online server's website

Complete guide to getting your MU Online server's website online: the three hosting options (same VPS as the game / separate shared Linux hosting / local XAMPP or AppServ), how to upload files via FTP with FileZilla step by step, how to install the IonCube Loader in cPanel and in XAMPP, configuring the database connection in the site's config file (SQL Server and MySQL connection strings), setting folder permissions correctly (644 for files, 755 for directories, 777 for writable directories), how to troubleshoot blank pages and IonCube errors, linking the site to the game's player database so rankings and account registration work, and the security rules for the website database connection (dedicated user, never expose SQL port to internet).

12 min · Intermediate ·
🧹
Tutorial

How to create a PK Clear system via website in MU Online

Build a PK Clear system via website in MU Online to remove the killer status from characters, with a secure stored procedure, optional charging, and protection against abuse.

17 min · Intermediate ·
💳
Tutorial

How to integrate donations with Mercado Pago on your MU server website

Integrate Mercado Pago into your MU Online server website to receive donations via Pix and card, with payment preferences, a confirmation webhook and automatic credit delivery in a secure, idempotent way.

27 min · Advanced ·
🧰
Tutorial

How to install AppServ for your MU Online server website

Complete guide to installing AppServ for running a MU Online server website on Windows: what AppServ is and what it includes (Apache, PHP, MySQL, phpMyAdmin), when to choose AppServ over XAMPP, the full installation walkthrough with each configuration screen explained (Apache port, admin email, MySQL root password, charset), where AppServ installs its files (C:\\AppServ\\www\\), how to access phpMyAdmin, installing IonCube Loader in AppServ for protected MU web systems, configuring the virtual host for multiple sites, solving the most common AppServ problems (port 80 conflict, MySQL not starting, phpMyAdmin access), the AppServ vs XAMPP comparison in detail, and the security hardening steps before going live.

12 min · Beginner ·
📧
Tutorial

How to set up SMTP for account recovery in MU Online

Set up SMTP email delivery on your MU Online server website and implement a secure token-based password recovery flow, with PHPMailer, expiration and abuse protection.

20 min · Intermediate ·
🔤
Tutorial

How to build nickname and class change via the website in MU Online

Implement nickname and class changes via the website in MU Online with name validation, safe foreign-key updates, and optional WCoin billing.

20 min · Intermediate ·
🔌
Tutorial

How to build an API between the website and the GameServer in MU Online

Learn how to build a PHP REST API between your website and the MU Online GameServer to exchange data securely, trigger commands and sync information without exposing the SQL database directly to the web.

24 min · Advanced ·
🔒
Tutorial

How to sanitize user uploads on your MU Online server's website and panel

Implement secure sanitization of user uploads (avatars, ticket attachments, forum images) on your MU Online server's website, covering real type validation, size limits, renaming, and storage outside the webroot.

16 min · Advanced ·
🟢
Tutorial

How to create a server status page (online/offline) for MU

Learn how to build a status page that shows in real time whether your MU Online ConnectServer, GameServer and database are online, with a player count and uptime history.

22 min · Intermediate ·
🔄
Tutorial

How to build a website reset system in MU Online

Implement a website reset system in MU Online with secure PHP validation, stored procedures in SQL Server and protection against fraud and duplicate resets.

18 min · Intermediate ·
🧰
Tutorial

How to install XAMPP for a MU Online server website

Complete guide to installing XAMPP for running a MU Online server's website: what XAMPP includes (Apache, PHP, MySQL/MariaDB, phpMyAdmin), the critical difference between XAMPP's MySQL and SQL Server (the game database), how to choose the right PHP version for your web system, the full XAMPP installation and control panel walkthrough, where to put the website files (htdocs folder), how to create and import the MySQL database for the web system via phpMyAdmin, how to install IonCube Loader in XAMPP for PHP-encoded MU web systems, the four most common XAMPP problems and fixes (port 80 conflict, MySQL not starting, wrong PHP version, blank page), and how to use XAMPP on a VPS vs a local development machine.

12 min · Beginner ·
🔑
Tutorial

How to protect your MU Online server's admin panel with two-factor authentication (2FA)

Implement TOTP-based two-factor authentication (2FA) in your MU Online server's PHP admin panel, with secret generation, QR Code, code verification, and an access recovery plan in case the player loses their device.

15 min · Advanced ·
📊
Tutorial

How to build a real-time web ranking with cache for MU Online

Build a web ranking of characters and guilds for MU Online that seems to update in real time, using layered caching, a JSON endpoint, and incremental front-end updates without taking down SQL Server.

24 min · Advanced ·
🌐
Tutorial

How to install WebEngine CMS for your MU Online server

Install and configure WebEngine CMS from scratch for your MU Online server site, connecting to the emulator's database securely and enabling essential modules like rankings, downloads, and account registration.

18 min · Advanced ·
📰
Tutorial

How to build a news and events system for your MU server website

Build a complete news and event calendar system for your MU Online website, with an admin panel, database, paginated listing, and highlighting of active events.

24 min · Intermediate ·
🛡️
Tutorial

How to Protect Your MU Online Server Panel Against CSRF Attacks

Understand how CSRF attacks can be used against your MU Online server panel, and implement tokens, SameSite cookies, and origin validation to block forged actions carried out in the player's name.

14 min · Intermediate ·
📝
Tutorial

How to build a secure account registration system for MU Online

Build a PHP account registration system for your MU Online server that is hardened against SQL injection, weak passwords and bots, using prepared statements, correct hashing and strict validation.

19 min · Advanced ·
🎫
Tutorial

How to build a web support ticket system for MU Online

Build a support ticket system on your MU Online server's website, with tickets opened by players, staff replies, statuses, categories and an admin panel in PHP and SQL.

22 min · Intermediate ·
🏪
Tutorial

How to build a web item shop (webshop) for MU Online

A complete guide to building a secure webshop for your MU Online server, integrating credit balances, automatic item delivery to the warehouse, and protection against fraud.

16 min · Advanced ·
🛡️
Tutorial

How to protect your MU server website against SQL injection

Understand how SQL injection attacks your MU Online server's website and apply real defenses with prepared statements, validation, least privilege, and monitoring to shield accounts and items.

16 min · Advanced ·
🔔
Tutorial

How to integrate Discord (event webhook) into your MU server

Connect your MU Online server to Discord via webhooks to announce invasions, resets, new registrations, and server status automatically, with pretty embeds, rate limiting, and a message queue.

23 min · Intermediate ·
🤝
Tutorial

How to create a referral system in MU Online

Implement a referral system on your MU Online server's website, with unique links, Cash rewards, and protection against self-referral fraud.

17 min · Intermediate ·
🧨
Tutorial

How to prevent SQL Injection in legacy forms on your MU Online server's website

Identify and fix SQL Injection vulnerabilities in legacy PHP panels for MU Online servers — from login and ranking forms to donation pages — using prepared statements, input validation, and hands-on testing.

16 min · Advanced ·