Question about PHP Programming

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
mush
Forum Newbie
Posts: 1
Joined: Sun Feb 24, 2008 6:49 am

Question about PHP Programming

Post by mush »

ey Guys,
I have a question about programming in PHP,
i just finish building this site in Flash and it uses alot of XML files.
when i sold the site, the buyer asked if i could create a backoffice in explorer that loads a specific XML file , edit it and save it as a new xml file instead of opening the file and messing it all up...
ive been asking around and ppl suggested using PHP. is it possible? or should i do it in another language?

thnx
dml
Forum Contributor
Posts: 133
Joined: Sat Jan 26, 2008 2:20 pm

Re: Question about PHP Programming

Post by dml »

It can be done in any server side programming language. Another approach to not messing up an XML file is to create a DTD for the xml format - this is just a description of what tags and attributes are permitted. Your client can then use an editor like Xmlspy which will only let them put tags where the DTD permits it. Even if you're not familiar with it, you can probably put together a DTD in a morning and your client will be happily editing xml files by lunchtime... it's a lot quicker than trying to learn enough PHP to be able to solve the problem.
Post Reply