NYCPHP Meetup

NYPHP.org

[nycphp-talk] php include file question

louie louie at zibi.co.il
Mon Mar 31 20:15:34 EST 2003


greetings folks,

you all list  all the problems the include() function can cause,
i dont think she realy describe her problem,
i just think she put the <? include("copyright.html"); ?>
 within  .html\\.htm extension.
she mention a technician so did the conf the php.ini
most off them leave the error all ,
and she didnt say nothin' about error
and she say :

> Within the HTML documents that call the include files,

within the html doc??????
she call the include() from html doc. ??
all she need than is to cahnge is the file  to "whatever.php"  and face the
scond problem :P

deidra : write the file name  ?
            and just C/P the code here,

best regards,
louie.

----- Original Message -----
From: "Deidra McIntyre" <lists at redibishosting.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Monday, March 31, 2003 9:52 AM
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 &copy; 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/ ---
>
>
>
>




More information about the talk mailing list