Forums
This topic is locked
Pure PHP upload?
12 Dec 2002 16:03:18 J D posted:
Anyone know of an extension or script that will allow files(images) to be uploaded added to a database and easily deleted when the database record is deleted? At the moment I have to ftp in and manually delete images that are no longer in use. Replies
Replied 12 Dec 2002 16:47:34
12 Dec 2002 16:47:34 Brent Colflesh replied:
Dear Eugeneelh,
Call an unlink script when you delete the record:
www.php.net/manual/en/function.unlink.php
Regards,
Brent
Call an unlink script when you delete the record:
www.php.net/manual/en/function.unlink.php
Regards,
Brent
Replied 12 Dec 2002 17:09:47
12 Dec 2002 17:09:47 J D replied:
thanks I'll try that!
Replied 13 Dec 2002 12:36:03
13 Dec 2002 12:36:03 J D replied:
When calling an unlink script can I do it by modifying the delete record behavior and when the form submits it deletes the record and the file or do I need to pass a variable to another page and unlink from that? If I pass the variable which is the best way of doing this?
Replied 24 Dec 2002 11:13:29
24 Dec 2002 11:13:29 Interakt Online replied:
Hello,
We also provide a very good implementation of file upload and download in our commercial product ImpAKT2 tNG.
See more about it at www.interakt.ro/products/ImpAKT/
Alexandru
We also provide a very good implementation of file upload and download in our commercial product ImpAKT2 tNG.
See more about it at www.interakt.ro/products/ImpAKT/
Alexandru
Replied 13 Jan 2003 12:20:01
13 Jan 2003 12:20:01 Julio Taylor replied:
so is there a way to try ImpAKT before purchasing?
------------------------
Julio
PHP | MySQL | UD4
ICQ: 19735247
------------------------
Julio
PHP | MySQL | UD4
ICQ: 19735247
Replied 30 Jan 2003 11:54:22
30 Jan 2003 11:54:22 Interakt Online replied:
Hello,
You can download a demo of ImpAKT on our website and on DMXzone
www.interakt.ro/products/ImpAKT/
You can download a demo of ImpAKT on our website and on DMXzone
www.interakt.ro/products/ImpAKT/
Replied 31 Jan 2003 06:04:12
31 Jan 2003 06:04:12 Frank tedtofston replied:
unlink is a breeze, create a page that deletes the images with the unlink function, have it redirect to the delete record page which forwards the user to your specified finish page.