dear group,
I use the $DOCUMENT_ROOT to make a complete file name.
$fpname=$DOCUMENT_ROOT.'/includes/blocks/dynmenu.php';
It does not work on one site: the document root misses the /home/ start. I could
just hardcode this but i'ld rather have a function that would work everywhere.
What can i do?
Warning: fopen("/www/ecodorp/admin/modules/dynmenu.src","r")
- No such file or directory in /home/www/ecodorp/php/post/admin/modules/dynmenu.php on
line 378
I cannot open /www/ecodorp/admin/modules/dynmenu.src
Chris
--------------------------------------------------------------------
-- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands --
--------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]