[thelist] Client Updates to SSI .inc file

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Wed Jul 28 14:36:07 CDT 2004

For what it's worth...

	I had a project where the client had no web skills but wanted to
be able to add new reports with links.  I gave them a subroutine that
took the new record and rendered it elsewhere... So all they have in
their include file is

addReport("reportName1", "reportFileName1.pdf")
addReport("reportName2", "reportFileName2.pdf")
addReport("reportName3", "reportFileName3.pdf")
addReport("reportName4", "reportFileName4.pdf")

and my addReport function can then put these values in an array, sort
that array, render the data in whatever new style they want, etc.


Peter Brunone

-----Original Message-----
From: thelist-bounces at lists.evolt.org On Behalf Of Bob Haroche

> Can't you use a form for them to input the data and write a simple 
> server-side script (ASP/PHP) to append the data to the inc file?

Yeah, could do that, but newly added stores would need to be added in
alphabetical order (first by state, then by store name), not simply
appended to the end of the file. Is there a simple scripting technique
to do that? Or alternatively, to read and display the newly appended
list in the desired order?

I'm pretty sure the server supports PHP and Perl.

Bob Haroche
O n P o i n t  S o l u t i o n s

More information about the thelist mailing list