httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lawrence, Sean" <slawre...@seveninteractive.com>
Subject RE: Include Files
Date Thu, 13 Dec 2001 22:08:09 GMT
try this 

<?php include ('../includes/foo.inc'); ?>

you migh need to put some info in the header like:
<!--#includ virtual="../includes/foo.inc" -->

-----Original Message-----
From: David Sheeks [mailto:sdsheeks@isdponline.com]
Sent: Thursday, December 13, 2001 4:07 PM
To: users@httpd.apache.org
Subject: Include Files


I am familiar with .ASP setups, but I am trying to learn PHP.  One area I am
having trouble in is with the include files.  Under asp I would do:

<!--#include file=../includes/foo.asp-->

I attempted to include a file under PHP and it error with a message similar
to "please setup your include path"

Any ideas?

-- 
--Powered By Linux--

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message