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?

TIA,

Phil.

NoHo Digital
Floor 2, Canberra House
315-317 Regent St
London W1R 7YB

phone:  44(0)207 299 3414
mobile:  44(0)7711 818 384
email:    [EMAIL PROTECTED]
http:        www.noho.co.uk



------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You'll receive a message confirming the unsubscription.

Reply via email to