Hi Com,
Ich wollte mir ein einfaches Uploadscript für Bilder coden, das Bild lädt er schon hoch, nur Die Bilder sollen mit Name und Größe in eine XML Datei geschrieben werden.
Die XML Datei sieht so aus:
Wie Kriege ich es hin dass PHP einfach noch ein Thumbnail hinzufügt?
Schonmal thx im vorraus
Ich wollte mir ein einfaches Uploadscript für Bilder coden, das Bild lädt er schon hoch, nur Die Bilder sollen mit Name und Größe in eine XML Datei geschrieben werden.
Die XML Datei sieht so aus:
Code:
<?xml version="1.0" encoding="UTF-8" ?> - <playdata> - <thumbnails> <thumbnail filename="Bild1.jpg" target="_parent" title="" size="110070" /> <thumbnail filename="Bild2.jpg" target="_parent" title="" size="121772" /> <thumbnail filename="Bild3.jpg" target="_parent" title="" size="227256" /> <thumbnail filename="Bild4.jpg" target="_parent" title="" size="249791" /> <thumbnail filename="Bild5.jpg" target="_parent" title="" size="249168" /> <thumbnail filename="Bild6.jpg" target="_parent" title="" size="178059" /> <thumbnail filename="Bild7.jpg" target="_parent" title="" size="184695" /> <thumbnail filename="Bild8.jpg" target="_parent" title="" size="143962" /> <thumbnail filename="Bild9.jpg" target="_parent" title="" size="234814" /> <thumbnail filename="Bild10.jpg" target="_parent" title="" size="229839" /> <thumbnail filename="Bild11.jpg" target="_parent" title="" size="94937" /> <thumbnail filename="Bild12.jpg" target="_parent" title="" size="160567" /> <thumbnail filename="Bild13.jpg" target="_parent" title="" size="158264" /> <thumbnail filename="Bild14.jpg" target="_parent" title="" size="163043" /> usw. </thumbnails> </playdata>
Schonmal thx im vorraus