mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-19 06:22:07 +00:00
Shits
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
if(isset($_POST['thisUrl']))
|
||||
|
||||
{
|
||||
|
||||
$string = $_POST['thisUrl'];
|
||||
|
||||
|
||||
|
||||
$file = file_get_contents('videos.json');
|
||||
|
||||
$data = json_decode($file);
|
||||
|
||||
unset($file);//prevent memory leaks for large json.
|
||||
|
||||
//insert data here
|
||||
|
||||
if($data[0] == $string)
|
||||
|
||||
Reference in New Issue
Block a user