<?php
header('Access-Control-Allow-Origin: *');
$first = True;
foreach ($_FILES as $file) {
if (!$first)
echo ",";
echo $file['name'];
$first = False;
}
?>
<?php
header('Access-Control-Allow-Origin: *');
$first = True;
foreach ($_FILES as $file) {
if (!$first)
echo ",";
echo $file['name'];
$first = False;
}
?>