mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2025-01-03 06:22:41 +00:00
Changed upload list function
This commit is contained in:
parent
f02f27db30
commit
8e27a62bb5
10
index.php
10
index.php
@ -152,11 +152,13 @@
|
|||||||
<input id="file" type="file" name="file" /><br />
|
<input id="file" type="file" name="file" /><br />
|
||||||
<input value="Upload!" type="submit" name="submit" />
|
<input value="Upload!" type="submit" name="submit" />
|
||||||
</form>
|
</form>
|
||||||
<br /><h3>Files currently on GAMA (No links): </h3>
|
<br /><h3>Files currently on GAMA: </h3>
|
||||||
<?php
|
<?php
|
||||||
include 'preg_find.php';
|
//include 'preg_find.php';
|
||||||
$files = preg_find('/./', './upload', PREG_FIND_RECURSIVE);
|
//$files = preg_find('/./', './upload', PREG_FIND_RECURSIVE);
|
||||||
foreach($files as $file) printf("<br />%s\n", $file);
|
//foreach($files as $file) printf("<br />%s\n", $file);
|
||||||
|
include 'upload-list.php';
|
||||||
|
getDirectory( "./upload" );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
|
Loading…
Reference in New Issue
Block a user