insertasset.ashx

This commit is contained in:
Thomas G 2022-08-05 10:19:26 +10:00
parent 53bc195b4a
commit 94565cb9a1
2 changed files with 28 additions and 0 deletions

View File

@ -65,4 +65,9 @@ class ClientController extends Controller
{
return view('client.ideupload');
}
public function insertasset()
{
return view('client.insertasset');
}
}

View File

@ -0,0 +1,23 @@
@php
//header("location:" . $file);
$nsets = (int)$_GET["nsets"];
$type = (string)$_GET["type"];
$userid = (int)$_GET["userid"];
$sid = (int)$_GET["sid"];
//http://roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=11744447
if ($nsets == 20 && $type == "user")
{
header("content-type:text/xml");
$file = "http://morblox.us/stamper/base/{$userid}.xml";
readfile($file);
//
//header("location:" . "http://morblox.us/stamper/base/{$userid}.xml");
}
//http://www.morblox.us/stamper/inseassetcollect.php?sid=433603
if ($sid !== 0 && $type == 0)
{
header("content-type:text/xml");
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
}
@endphp