Subject: [htdig] footer.html - legal grammar + PHP3
From: Philip Coates (firstname.lastname@example.org)
Date: Tue Nov 23 1999 - 03:56:14 PST
Is there a way of using PHP in the .html files in the common dir? Ideally
I'd like to have a footer which says something like:
$rem = $(MATCHES)%5;
$total = (($(MATCHES)-$rem)/5)+$rem;
...some PHP code here to replace the normal footer code...
Unfortunately, PHP seems to ge a bit parsed by the ht://Dig engine; is there
any way of allowing PHP in the footer.html file? Is there any other way
anyone can think of of extracting the $(MATCHES) value in such a way as it
can be passed to an external (to ht://Dig) script?
Floor 2, Canberra House
315-317 Regent St
London W1R 7YB
phone: 44(0)207 299 3414
mobile: 44(0)7711 818 384
To unsubscribe from the htdig mailing list, send a message to
You'll receive a message confirming the unsubscription.
This archive was generated by hypermail 2b25 : Tue Nov 23 1999 - 04:07:49 PST