If you have Windows NT & IIS or Windows 95/98 & PWS, that is a windows-based system
plus a web server, and you need to publish a simple railroad/bus/flights timetable,
this program may help you.
There are two binary files, one to create the database your site will depend on, and one
to perform the actual search.

To get your timetable server up and running you need to
- get Windows and the Web Server up and running
- create your database using TTPR
- put the web application TIMESERV in a directory where it can be executed from the web server.
One of these directoriesis by default c:\inetpub\scripts
- copy the database (or locate it from the start) in a subdirectory
 of the directory where you put TIMESERV.exe
- put the file crudetimetable.html in a directory where it can be browsed
- edit the file crudetimetable.html to suit your needs, and in particular the line
	<form action="http://localhost/scripts/timeserv.exe
  should become
	<form action="http://www.yourhost.com/youralias/timeserv.exe

and the line
	<input type="text" size="20" name="Database" value="nordest">
  will become
	<p><input type="text" size="20" name="Database" value="yourdatabasename">
     where yourdatabasename is the name of the subdirectory of scripts where the database is
     located.

Now you are ready to test your timetable server. If it doesn't work,
 contact me at diegoami@yahoo.it. Or read on.

TTPR

This program was created using Delphi, Paradox database and the BDE engine.
When you first create a database it must be allocated a directory where the routestowns.db
file will be created.
Every route you insert in the database will add entries to this table and
will be associated with another db file.
A smart idea is to locate the database in a directory where it can be seen from the
timeserv application, that is a subdirectory of the directory where this is located.
After you have created a route you can edit it or drop it, but remember - the tables should be
ordered by time.
You can perform a test search also from this application - modify the URL Edit field
to suit your environment.

When you create a new route you are asked to insert the nodes in this route -
and to give two names for the route,for both directions. You may change/delete the node you have
selected in the listbox clicking on the appropriate speed-button. After clicking on the NEXT button you are ready to insert the actual timetable for the route -
the time must be in the format HH:MM and you can insert/delete rows using INSERT / CTRL+DEL.
In the field DAYS you have to insert the days of week this vehicle travels - for instance
	mtwsu means monday, tuesday, wednesday, saturdaty, sunday
an empty field means : every day.

m	Monday
t	Tuesday
w	Wednesday
h	Thursday
f	Friday
s	Saturday
u	Sunday

You have to insert two timetables.

When you decide to edit an existing timetable you have to select it in the combobox - whenever
you do it you are asked whether you want to save changes for the timetable you just edited.
You may also drop the timetable.

TIMESERV

Timeserv must be passed some parameters in a CGI/ASP-like form in order to work. They are
- database : the subdirectory where the database is located. It is relative to the directory
  where TIMESERV is located, and must not contain slashes
- Departure
- Arrival
- Hour
- Minute
- WeekDay

FILLER

You might use the crudetimetable.html or you might want to fill Departure/Arrival listboxes with
the names of the nodes.
The program filler must be passed in a CGI/ASP-like the database parameter and, using the file
timetable.html which MUST be in the same directory, will fill the listboxes.
The user will not type the Destination/Departure wrongly.

Example:
	http://localhost/scripts/filler.exe?database=nordest







