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
- 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.
- Click the Add item button (1), select the DMXzone
menu item (2) and open the Delete File Before Record menu
(3).
- In the Delete File Before Record window, click the Browse button in order to select the folder that stores your images.
- Select your images folder and click OK.
- 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).
- 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.
- Now you can save your work and test the results in your
browser.
Lubov Cholakova
Lubov 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.
Comments
Can't see prefix as an option
You must me logged in to write a comment.