I have a script that uploads ifiles to a folder on my site, the thing is, i want it to automatically go in my album, i need a script when after uploading - it should automatically write a tex file i a serten xml file without deleting any files
i don't know what script to show but i will give the codes what i think you can use to see what i need
after uploading i want a script to write the target file and rewrite in xml file below
The xml looks something like these
<?xml version="1.0"?>
<MultimediaGallery>
<file type="audio">
<thumb>media/audio/thumbs/audio1.jpg</thumb>
<source>media/audio/audio1.ogg</source>
<source>media/audio/audio1.mp3</source>
<description>Audio Example</description>
</file>
<file type="video">
<thumb>media/videos/thumbs/video1.png</thumb>
<source>http://www.youtube.com/watch?v=irF02LNZLpE</source>
<description>Youtube Video: San Francisco Carnaval Grand Parade 2010</description>
</file>
<file type="video">
<thumb>media/videos/thumbs/video2.png</thumb>
<source>http://www.youtube.com/watch?v=dD1H4fvdnyI</source>
<description>Youtube Video: San Francisco Carnival Parade 2010 Best Video</description>
</file>
<file type="video">
<thumb>media/videos/thumbs/video3.png</thumb>
<source>http://www.youtube.com/watch?v=x4zjT-lfoXw</source>
<description>Youtube Video: Sambamora with Loco Bloco at the San Francisco Pride Parade</description>
</file>
<file type="photo">
<thumb>media/photos/thumbs/1.jpg</thumb>
<source>media/photos/1.jpg</source>
<description>this is a description</description>
</file>
<file type="photo">
<thumb>media/photos/thumbs/2.jpg</thumb>
<source>media/photos/2.jpg</source>
<description>this is a description</description>
</file>
</MultimediaGallery>
as you can i need these part to be rewrite after i upload
<file type="photo">
<thumb>media/photos/thumbs/1.jpg</thumb>
<source>media/photos/1.jpg</source>
<description>this is a description</description>
</file>
-------------------------
html php that uplads the file file that the uploads
Bookmarks