Re: Mod_Layout 3.2, Apache 1.3, PHP 5.2, PHP Not working =\
Alan Wright <[email protected]> Fri, 02 Mar 2007 09:24:48 +0000
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Have you included the <? and ?> in the php file? Does include.php work if you directly access it? Rgds Alan Wright IT Support Technician Centre for Psychological Research in Human Behaviour School of Education, Health & Sciences University of Derby Western Road, Mickleover, DE3 9GX http://psychology.derby.ac.uk At 18:39 01/03/2007, you wrote: >HI All, > >I've spent the last 2 days trying to figure this problem out. I >want to use mod_layout on all my pages, PHP and HTML. When I try to >use PHP Code it is not being executed but shows up in the source of >the page. I read that it needs to be used as >LayoutHeader /include.php and not LayoutHeader /path/to/include.php . > >To use it across all the sites I am not sure what to do unless I put >the include.php file in the root of every person's home >directory. I tried using alias and scriptalias but it seems to >ignore both of those options. > >Please let me know if there is a way of doing this that I am missing! > >Thanks. > >______________________________________________________________________ >This email has been scanned by the MessageLabs Email Security System. >For more information please visit http://www.messagelabs.com/email >______________________________________________________________________ >_______________________________________________ >Mod_layout mailing list >[email protected] >http://lists.tangent.org/mailman/listinfo/mod_layout