P C said:
ASP supports includes, however they are not dynamic.
Actually, ASP includes are SSI includes, and as such they *are* dynamic. I'm
talking about includes of the form:
The ASP includes
are not the same as the FP includes.
You may want to look into redirect or server.transer if it's available
in PHP (it's avalble in ASP).
...PC
Response.Redirect and Server.Transfer are both mechanisms that make the
browser display a different page than the Web visitor requested. They have
nothing to do with displaying the contents of one file withn another.
Alex, or Auerbach, I presume you want a PHP page to store or append variable
data in some file, and then display those contents as part of another file.
This is where you'd use an SSI (Server Side Include) assuming your Web server
supports those.
If you had some other reason for asking the original question, please
explain in greater detail what you're trying to accomplish.
Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------