Skip to content

Instantly share code, notes, and snippets.

View asman03's full-sized avatar
🖐️

Asep Sulaeman asman03

🖐️
View GitHub Profile
@asman03
asman03 / meganz.php
Created December 23, 2020 23:55 — forked from MBRCTV/meganz.php
Mega.nz Direct Link Generator
<?php
echo '<html><head><title>Mega downloader</title></head><body><h2>Enter Url</h2><form action="mega.php" method="POST"> <br> URL: <input type="text" name="URL"> <br><input type="submit" value="Submit"></form>';
if ($_POST) {
error_reporting(0);
$url = $_POST['URL'];
preg_match("/!(.+?)!/", $url, $output_array);