mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-12-22 09:42:39 +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 value="Upload!" type="submit" name="submit" />
|
||||
</form>
|
||||
<br /><h3>Files currently on GAMA (No links): </h3>
|
||||
<br /><h3>Files currently on GAMA: </h3>
|
||||
<?php
|
||||
include 'preg_find.php';
|
||||
$files = preg_find('/./', './upload', PREG_FIND_RECURSIVE);
|
||||
foreach($files as $file) printf("<br />%s\n", $file);
|
||||
//include 'preg_find.php';
|
||||
//$files = preg_find('/./', './upload', PREG_FIND_RECURSIVE);
|
||||
//foreach($files as $file) printf("<br />%s\n", $file);
|
||||
include 'upload-list.php';
|
||||
getDirectory( "./upload" );
|
||||
?>
|
||||
</div>
|
||||
<div id="footer">
|
||||
|
Loading…
Reference in New Issue
Block a user