Thread: PHP Include?
View Single Post
Old 06-22-2003, 08:28 AM  
crescentx
Confirmed User
 
Join Date: Jun 2003
Posts: 317
PHP Code:
<? include "/file/that/you/want/to/include"; ?>
or
PHP Code:
<? include "http://www.thesite.com/file"; ?>
should do it. The first one is the
Quote:
absolute path
to your file, so if the file is index.html in the directory /home/web/site.com/webdocs/index.html you would need all of that in there. Some configurations make it so you have to do
PHP Code:
<?php
not just
PHP Code:
<?
-doug
__________________
XYCash International Gay Affiliate Program
crescentx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote