Current Path : /data/web/virtuals/51568/virtual/www/www/fotopruh/ |
Current File : /data/web/virtuals/51568/virtual/www/www/fotopruh/fotopruh-smazat.php |
<?php $smazat = (isset($_POST["smazat"])) ? $_POST["smazat"] : ""; $smazatArr = json_decode($smazat); foreach($smazatArr as $fotka){ $target = '../../_web/footerimg/'.$fotka.'.jpg'; unlink ($target); } ?>