Y
Y
yv19952015-11-26 22:27:41
PHP
yv1995, 2015-11-26 22:27:41

How can I remove incomprehensible (to me) files from a folder?

c964332ad2fa4036a7c853ab444f2422.jpg
Guys tell me how to get rid of what I highlighted in the photo! I can not understand what it was thinking hidden files changed the configuration, but there are only two files in the folder that I uploaded! when deleting these files, these 2 files still remain with an incomprehensible extension! here is the code:
<?php unset($dir); $direct = "data" . DIRECTORY_SEPARATOR; ?>
<?php if (is_dir($direct)): ?>
<?php if ($dh = opendir($direct)): ?>
<?php while (($file = readdir($dh)) != = false): ?>
<?php echo $file . ": "; ?>
<?php endwhile; ?>
<?php endif; ?>
<?php endif; ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-11-26
@yv1995

. - current directory
.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question