D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] dumb question about apace + php

 

Dave Morgan wrote:
> Hi,
> all my stand-alone php scripts on my web site work fine, but
> attempting to stick a small block of php code inside a html page
> does not work at all.
>
> See http://www.morgad.no-ip.info/ntp/status.html for the page in
> question.
>
> Is there something in my apache or php config I have forgotten to
> set?
>
> Best regards
> Dave
> (updated sig for Googlemail under construction)
>
>   
Not sure if this is the problem, but i had to rename my html filles to 
.php in order for any php to work,  even if this was a simple include 
statement,

paul

-- 

Support open file formats use ISO 26300 Open Document format
as used by openoffice.org,  http:///www.openoffice.org


Events

Lug Bar B Que
Sunday 19th August 2007
Cornwall, details on lug site, www.dcglug.org.uk under meetings.
http://www.dcglug.org.uk/wiki/?id=Meetings_20070819


-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GIT d S: a  C+++ UL++++ P+ L++ W++ N+ W--- 
O! V!  PS+ Y! t+++ 5 X+++ R tv- b- 
DI! D++ G e H! r! z?

-----END GEEK CODE BLOCK----


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html