Linked Questions

0 votes
0 answers
102 views

I have created a PDF in Laravel 5 by Laravel-dompdf. $pdf = PDF::loadHTML($html) ->setPaper('a4', 'landscape') ->setWarnings(false) ->save('documents/f_'.$...
Miguel Herreros Cejas's user avatar
-3 votes
1 answer
67 views

I am creating a PHP Program where it will delete the file inside a folder and i am using unlink() but after reading about unlink() it seems like it will not delete the "body" of the file if there is a ...
Punky's user avatar
  • 51
47 votes
7 answers
5k views

I want to delete a file by using PHP. I have used the unlink() function, but I was wondering about the security of unlink. Is the file completely deleted from the server? I want to make sure that ...
Amar Banerjee's user avatar
1 vote
2 answers
3k views

I want to delete files in a specific directory in PHP. How can I achieve this? I have the following code but it does not delete the files. $files = array(); $dir = dir('files'); while ($file = $dir-&...
Shir Grinblat's user avatar
0 votes
1 answer
2k views

I have a class name aes.php (found when googling). This class use Rijndael-128. here the aes.php <?php /* Version: 1.0 */ class aes_encryption{ const CIPHER = ...
John's user avatar
  • 45
0 votes
1 answer
480 views

I have a bunch of files that I show on the page from folder, and every file has a button to delete it from the folder, I'm using hidden input to get the file name and to link it with path to delete it....
Abdallah M Yassin's user avatar
1 vote
3 answers
103 views

I have this table: +----+------------+-----------------------+ | ID | ID_PRODUCT | LINK_DOWNLOAD | +----+------------+-----------------------+ | 1 | 2369 | folder/2015.03.12.pdf | | 2 ...
ster's user avatar
  • 199
0 votes
0 answers
200 views

I want to make a function to delete a file in my folder through php. I've written the code based on suggestion from here, but eventually it is not deleting the file I intended to remove. It's removing ...
aan's user avatar
  • 29
3 votes
2 answers
76 views

I have an array of files with full directory path to each file. I need to iterate my files array and then delete ay of the files that are 0byte/non content inside them. files.txt /lib/Zend/Gdata/...
JasonDavis's user avatar
  • 49.2k
-1 votes
1 answer
140 views

I have some code for a type of note making thing: <h1>Notes About the rebellion:</h1> <form action="index.php" method='post'> Subject:<br><textarea name='textblock'></...
Terry Anderson's user avatar
1 vote
1 answer
73 views

Trying to delete files from server but receive this error: unlink(): cURL does not allow unlinking in... Here is my code: foreach($fDel as $del=>$delval){ $paths = array("art/images/", "art/...
user3240528's user avatar
0 votes
0 answers
40 views

So I have look through and directory exclude certain files, show files numbered with a delete button and need to write in a delete function to delete the directory and the files in it and not sure how ...
user avatar