Jump to content

Archived

This topic is now archived and is closed to further replies.

gupster

Got a php web program and need help

Recommended Posts

Ive got a service management php based software and need some help making some changes and getting it to work properly.

My first question is it has 13 php files and 68 xml files, why would this be written in this way i have not seen anything with more than 1 or 2 xml's before? Is this going to make alterations difficult?

My demo is at if you fancy a look:-

http://www.cfs-fire.co.uk/service
user: testuser
pwd: test

Share this post


Link to post
Share on other sites
Your software could be doing a lot of things with the xml files...it could be generating them to store data, they could be used to store user settings for example.  It may use XSL to display data back to you.  The creator could have used the xml files in place of a database if he/she wanted.

Share this post


Link to post
Share on other sites
Thanks,

Ive had a look at the files and they seem to be used to put the data to the database and bring ti back for viewing (i think).

One piece that dosent seem to work is inputing the date in a service call. Is there anything wrong with this xml code?

[code]<service_visit type="date" >
<title>Visit Date</title>
<fields>
<month format="int" default="now"/>
<day format="int" default="now"/>
<year from="2000" to="2010" default="now"/>

<hour separator=":" default="now" />
<minute default="now" />
</fields> [/code]

Where the drop down boxes to put the date in it just says [name] [name] [name] [name] [name] lots of times. I thin i have traced the right bit of code that does this.


Thanks,

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.