Hi, I need another variable. I need the filename itself. I want to substitute
/var/www/html/new1/foo.html
for
/var/www/html/new1/phpinfo.htm
and then include
/var/www/html/new1/html/phpinfo.htm
This doesn't do it anymore. I can't see a way to go up to directory "html":
<?php include(str_replace(".html", ".htm", $_SERVER["SCRIPT_FILENAME"]));?>
John
P.S. Happy Canada Day!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

