ALL THE NEW CODES

This commit is contained in:
Nicolas A. Tonne
2014-09-01 14:04:00 +02:00
parent 8d6e08faa5
commit 6d3f725a58
21 changed files with 2784 additions and 340 deletions

8
videos.php Normal file
View 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);
?>