My function cleanup looks like that. function cleanUp($exdirs, $exfiles){ $it = new RecursiveIteratorIterator(
In my PHP application I have products which have images in 3 sizes - big, thumbnails and small thumbnails. Each image is stored in a separate folder:
This is my code to pull information from my sql database and then I want to delete the .txt files in each directory, but I can\'t seem to figure out why it won\'t delete the files.
Hey i\'m trying to make my website delete a file using the unlink(); function. but when i try it comes up with this:
I am trying to delete an item from a folder somewhere, and I need to pass in the path of the item to unlink(). For some reason it says I am not returning a string, which I am not sur开发者_C百科e how
When I call unlink like so: unlink($_FILES[\'upload_file\'][\'tmp_name\']); I get t开发者_运维百科he following error message:
I am trying to use unlink command on my server Apache/2.2.3 PHP Version 5.2.10. I have been using the same script on a bunch of other servers including my local PC. Unfortunately, the command doesn\'t
<?php $direc = base64_decode($_GET[\'path\']); $zip = new ZipArchive(); if ($zip->open($archive_file_name, ZIPARCHIVE::CREATE) !== TRUE) {
I have setup a simple while loop which returns all images in a table along with their respective title and description so that users can update the details accordingly for each image.
I wrote a PHP script to delete files selected in a gridview. This is the first time I\'ve done this. The script works fine on my local development machine but I don\'t know if this is the proper way t