Re: Include file
| From: | Mike P | Date: | Sun, 24 Dec 2000 18:26:42 +0000 |
| Subject: | Re: Include file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31762@lists.php.net to get a copy of this message | ||
This is not a .php file it is an .shtml.It works on my host but not on my
development machine.
Mike
mpeloso@princeton.edu
""MR"" <ivansanchez@wanadoo.es> wrote in message
news:925cl7$to4$1@toye.p.sourceforge.net...
> "Mike P" ...
> > I have just installed Apache on my win 98 machine and my include files
> > aren't working.It just ignores them .Is there something I must do to my
> > config file? .The file is shtml.and the syntax is <!--#include
> > file="heading.htm" -->
>
> Try
>
> <? include "heading.htm"; ?>
>
> Also try to rename heading.htm to heading.php.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>