Pure PHP/ASP Upload Add-On Manual

Learn how to use the Pure PHP/ASP Upload Add-on Pack

In this article you will find all the needed information on how to work with Pure PHP/ASP Upload Add-on Pack. The manual has been created with the PHP version but it can be done the exact same way also on ASP. We covered all extensions that are packed in this Add-on so you can use them easily.


The Basics: Using Delete File(s) Before Record Server Behavior

In this tutorial we will show you how to use the Delete File(s) Before Record server behavior in order to delete your files from the server when the standard Delete Record Server Behavior is being executed, using the Pure PHP/ASP Upload Add-on Pack.

*You can also check out the video.

How to do it

  1. We've already set up a page that shows a database record and applied the standard Dreamweaver Delete Record behavior. Now we are going to apply the Delete File(s) Before Record behavior. Click the Server Behaviors button.

  1. Click the Add item button (1), select the DMXzone menu item (2) and open the Delete File Before Record menu (3).
     



  1. In the Delete File Before Record window, click the Browse button in order to select the folder that stores your images.



  1. Select your images folder and click OK.


  1. Select the database table field (1) storing the filenames. Enter the Thumbnail folder or leave this empty if there are no thumbnails or they are located in the same folder as the main images (2).

  1. In our case, the thumbnail images are located in the same folder as the big one so we will use a suffix "_small" and leave the thumbnail folder field empty.

  1. Now you can save your work and test the results in your browser.

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Comments

Can't see prefix as an option

October 4, 2021 by Joe Holt
I only have thumbnail suffix as an option when deleting. There is no prefix as in your example. And of course I use prefix all the time. Anyway you can tell me how to get prefix to show as an option?

You must me logged in to write a comment.