note 26634 added to function.virtual
| From: | chardin at ssc dot wisc dot edu | Date: | Thu, 07 Nov 2002 21:00:31 +0000 |
| Subject: | note 26634 added to function.virtual | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39099@lists.php.net to get a copy of this message | ||
If you are having problems using virtual include becuase of files being stored in different
directories, a root-relative path will make things much easier:
virtual ("/root directory/directory/filename.htm/");
where root directory is the root directory of your site (ask your sys admin if you dont know what it
is) Don't include the protocol or host name.
This will also allow you to move your files around your site without having to redirect your
includes which is *very* helpfull
--
http://www.php.net/manual/en/function.virtual.php
http://master.php.net/manage/user-notes.php?action=edit+26634
http://master.php.net/manage/user-notes.php?action=delete+26634
http://master.php.net/manage/user-notes.php?action=reject+26634