[nycphp-talk] php include file question
Willliam Klein
willie at pdfsystems.com
Mon Mar 31 13:11:19 EST 2003
I don't think the extentions matter. Make a info.php document with just
<?php phpinfo() ?> in it and check your include path.
> -----Original Message-----
> From: Deidra McIntyre [mailto:lists at redibishosting.com]
> Sent: Monday, March 31, 2003 12:53 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] php include file question
>
>
> List,
>
> I'm breaking up my html site into includes (header, copyright, etc.).
> Within the HTML documents that call the include files, I have the
> appropriate php tags (i.e. <? include("copyright.html"); ?> .
> All of the
> includes (i.e. copyright.html) are sitting in the same directory as my
> html pages (i.e. index.html). PHP is installed.
>
> So, why, no matter what I do, don't the include files parse into my
> document? I have tried to changed the include extensions from .html to
> php to .inc. None parse. Most of my includes contain basic
> HTML (no php)
> like <p>Copyright © 2003. All Rights Reserved.</p>.
>
> Am I doing something wrong? Or does my technician need to
> change something
> in the server configuration (if so what)?
>
> Thanks,
> Deidra
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030331/e69f4f0f/attachment.html>
More information about the talk
mailing list