<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#467886" vlink="#96607D" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hallo,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>der Dateiupload (type file) funktioniert gut. Wenn ich ein Objekt jedoch lösche (wo in der Datenbank auch ein Bilddateiname steht) , dann bleibt das Bild auf dem Server als Leiche liegen. Habt Ihr eine Idee, wie ich die Bildleichen gelöscht bekomme? Ich müsste ja aufwendig aus der Datenbank alle Bilddateinamen auslesen und diese mit den ganzen Bildnamen auf dem Server vergleichen, um anschließend alle Bilder löschen, welche nicht in der Datenbank eingetragen sind. Als Alternative wäre es gut, wenn beim Objektlöschen geprüft wird, ob ein Bild auch zu löschen ist.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>VG<o:p></o:p></p><p class=MsoNormal>Ivo<o:p></o:p></p></div></body></html>