|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Delete a file using a form..
I am trying to delete a file by using a form. So far I have a list of the files, can upload files, see the files, call on the files, but not delete the files.
If I have a form that allows me to input the file in question for deletion, then the form slaps the file name into a delete function ( need to look up the code ), then exicute the line of code? thanks for any help on this.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
Retrieve the value from your form and delete it like so:
PHP Code:
Function Information: file_exists unlink Hope that helps!
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Delete a file using a form.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|