Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Dec 6th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. // Декодим полученный запрос в ассоциативный массив
  2. while ($row = mysql_fetch_assoc($rmfile)) {
  3.     // Удаляем файлы
  4.     foreach ($row as $key => $value) {
  5.         unlink('/img/'.$value.'jpg');
  6.         // Ну и логируем для себя
  7.         echo $key." = ".$value
  8.     }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand