note 5888 modified in virtual by ronabop
| From: | ronabop@php.net | Date: | Sun, 20 Aug 2000 11:04:21 +0000 |
| Subject: | note 5888 modified in virtual by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2715@lists.php.net to get a copy of this message | ||
another win32 solution that doesn't require file manipulation.
$temp_path = substr($PHP_SELF, 1);
$temp_path = eregi_replace("[^/]","",$temp_path);
if ($temp_path) $temp_path = eregi_replace("/","../",$temp_path);
then call with
include(temp_path."filename");
http://www.php.net/manual/function.virtual.php