mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-16 22:39:33 +00:00
ALL THE NEW CODES
This commit is contained in:
8
videos.php
Normal file
8
videos.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$list = htmlspecialchars($_REQUEST['list']);
|
||||
if(!isset($_REQUEST['list']))$list="videos";
|
||||
$filename = "lists/".$list.'.json';
|
||||
if(!file_exists($filename)){ $f=fopen($filename, "a+"); fwrite($f,"[]"); fclose($f);}
|
||||
$file = file_get_contents($filename);
|
||||
print($file);
|
||||
?>
|
||||
Reference in New Issue
Block a user