php and its xml functions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nathan406
Forum Newbie
Posts: 1
Joined: Fri Nov 07, 2003 12:23 am

php and its xml functions

Post by nathan406 »

Hi All,
I am new to php's xml functions and I need some help on how to get this little job done that seems like a mountain right now.

The task I am trying to do is simple in concept for me but when it comes to xml, I cannot seem to find the solution.

I want to be able to..
1. Upload a file via a file browse and Unix function (done)
2. From php file, get input text on alias name of file (end user preference) (done)
3. Write to xml these properties... real file name, alias name, hyperlink to file
4. Call on the xml file to loop through and display them on php page
5. Create php admin page for administrator to do the uploading and file naming and DELETING of xml records (and unlink() file (done)).

I have a grasp on how to select an xml document, parse it and print it out,
But for the life of me I cannot seem to get php to Write to xml and Delete Nodes, Attributes or sets of each.
Any help would be greatly appreciated.
Post Reply