insertasset.ashx
This commit is contained in:
parent
53bc195b4a
commit
94565cb9a1
|
|
@ -65,4 +65,9 @@ class ClientController extends Controller
|
|||
{
|
||||
return view('client.ideupload');
|
||||
}
|
||||
|
||||
public function insertasset()
|
||||
{
|
||||
return view('client.insertasset');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue