[GRASSweb-list]New PHP grass website for mirrors without PHP

Bernhard Reiter bernhard at intevation.de
Mon Jan 10 09:16:26 EST 2005


On Wed, Dec 29, 2004 at 09:01:43PM +0100, Markus Neteler wrote:
> On Tue, Dec 28, 2004 at 12:59:05PM +0100, Bernhard Reiter wrote:
> > Hi Markus,
> > 
> > thanks for all the efforts on the webpages!
> > 
> > On Sun, Dec 26, 2004 at 08:09:59PM +0100, Markus Neteler wrote:
> > > The only PHP function which I am using is include() to
> > > construct the menus. No other tricks...
> > 
> > So why the use of PHP then?
> 
> As written above - because it provides the convenient
> include() function.
> 
> > This could have been done with an easy preprocessing.
> 
> Certainly true. Only - no volunteer found since 2001.
> I received enough promises but...

If you only would have wanted that include function alone,
m4 or a simple python script could have done that, no volunteer needed.
Examples are:
	Simple M4 preprocessing for kolab pages:
	http://kolab.org/cgi-bin/viewcvs-kolab.cgi/doc/www/src/Makefile?rev=1.14&content-type=text/vnd.viewcvs-markup

	Simple python preprocessing for skencil.org:
	http://savannah.nongnu.org/cgi-bin/viewcvs/skencil/skencil.org/
	
> As usual, we are going the way of minimizing efforts 
> (ok, took enough time) while trying to maximize the 
> positive effects.
> 
> > It is true that the use of a general programming language
> > introduces a lot of security implications (not only for mirrors).
> 
> Well, PHP3 is sufficient and, more important, on more than
> 20 of the 25 mirrors PHP was already installed.
> So potential security problems are not introduced by the
> change in the GRASS menu system for the majority of the mirror
> sites.

Yes, it is because you are actually using the programming language
as to not use it which is significantly different from having is
just installed and not used.

> PS: 
> I was 100% sure to receive this comment :-)

You could have included the answer in the announcement then. ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-web/attachments/20050110/e604da21/attachment.bin


More information about the grass-web mailing list