DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Upload and resize  
DwZone Forum Index -> Upload and resize
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 61 to 70 of 158 (Total: 152) First |  Prev |  Next |  Last  
 Subject Author Date  
    Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  CK   13:50 8 Apr 2015  
 
Difficult to understand your english, are you saying the 'files folder' in the delete behaviour should be left blank if the relative file path and file name are in the db?

If so I have tried this and still the thumbnail does not get deleted, here is the code:

<?php
//**************************
// DELETE UPLOAD
// http://www.DwZone.it
// Version: 1.3.11
//**************************
$upload = new dwzUpload();
$upload->SetRedirectUrl("admin_menu.php");
$upload->SetFormName("form1");
$upload->SetUploadType("delete@_@mysql");
$upload->SetDbParam($hostname_mysql, $database_mysql, $username_mysql, $password_mysql);
$upload->SetEditTable("machinery");
$upload->SetFilesToDelete("image1");
$upload->SetPrefix("_small@_@@_@");
$upload->SetEditColumn("id");
$upload->Execute();
?>
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  Gianluigi   14:20 8 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  ck   14:25 8 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  Gianluigi   14:29 8 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  ck   14:33 8 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  Gianluigi   14:42 8 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  ck   14:42 9 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  Gianluigi   9:10 10 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  ck   18:31 20 Apr 2015  
   Re: PHP Upload and Resize will not delete thumbnails.  
View this persons public profile  Gianluigi   10:02 21 Apr 2015  
Last Visit: Friday 10 Jan, 2025 4:47 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: