Jump to content


Photo

Got a php web program and need help


  • Please log in to reply
2 replies to this topic

#1 gupster

gupster
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 31 August 2006 - 12:03 PM

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

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 31 August 2006 - 12:45 PM

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.

#3 gupster

gupster
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 31 August 2006 - 01:21 PM

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?

<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>


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,




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users