Hi:
I have upload a file, after uploading it is saved in a folder "upload" and its contents are saved in phpmy sql
database. Now i want to delete this file both form folder and database, can anyone help me about deleting?
Uploading code is here:
Collaborative File Sharing System
Create new folder Chat To Otehrs Create Group Sign out
| File Name | File Size | File Type | Action |
| 1 (38).jpg |
127712Kb |
image/jpeg |
Edit Delete |
| 1 (37).jpg |
78285Kb |
image/jpeg |
Edit Delete |
| Chat.doc |
28672Kb |
application/msword |
Edit Delete |
| Msgbox.txt |
2466Kb |
text/plain |
Edit Delete |
| Msgbox.txt |
2466Kb |
text/plain |
Edit Delete |
| Msgbox.txt |
2466Kb |
text/plain |
Edit Delete |
| Msgbox.txt |
2466Kb |
text/plain |
Edit Delete |
| Msgbox.txt |
2466Kb |
text/plain |
Edit Delete |
<form action="upload_file.php" method="post"
enctype=“multipart/form-data”>
Filename:
zubair:hello
shahid:kya hal ha
zubair:thek
Shahid:Slam
Enter Name:
Your total storage space is:10149961728