PHP to modify a file??

Joined: 11/28/2008

Essentially I need a secure admin panel to modify an XML file and upload a file.
Here's what the XML looks like:

<pic>
    <image>gallery/1.jpg</image>
    <thumbnail>gallery/s1.jpg</thumbnail>
    <caption>Some lamp on the ground</caption>
</pic>

So essentally I need a way for the php to enclose Image, thumbnail, and caption into the pic tag, I need it to be able to upload the image then auto resize it to a predefined setting, then a box for a caption.
And it needs to be a secure admin panel.

Thoughts?

Flash gallery I'm using
http://www.flashgallery.org

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User Case

Can you walk through the use case. I'm not seeing what you want to do. I see a user end administration and xml. I'm not getting what you want to do.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com