Re: require('asdf')
| From: | Chris Lee | Date: | Wed, 14 Feb 2001 18:31:48 +0000 |
| Subject: | Re: require('asdf') | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39705@lists.php.net to get a copy of this message | ||
is this what you want ?
somefile.php
<?php
include_once("$DOCUMENT_ROOT/include/header.inc");
?>
--
Chris Lee
Mediawaveonline.com
em. lee@mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Brandon Orther"" <brandon@webintellects.com> wrote in message
news:CKEMJEADMOCEHPHJKLPAAEPGCGAA.brandon@webintellects.com...
> Hello,
>
> I am using the require() function to open up the head of my pages. In the
> head.php file it requires something relative to its path. What I want to
do
> is be able to require('head.php') without having to copy all the files
> head.php requires into the folder of the script using this head.php file.
>
> I hope you can understand that thanXor
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> brandon@webintellects.com
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>