> i think the proplem is, that within the included file there are other > files included (and so on...). > Error Message: > Warning: Failed opening 'inc/var_general.inc.php3' for inclusion > (include_path='') in /opt/... i think you gave the answer yourself. you need to use the full path to the includes in that includefile also... it probably be easiest to handle if in the file to be included you use include($custom_root.'/includefile.php') the variable customroot should be empty on normal inclusion, but on the different dir u use $custom_root='/home/www/blah/blub/whatever'; include($custom_root.'/includefile.php'); anyhow: you need to rewrite the files that need to be included.... :-[ > > May you know a solution? > > thanx > > dominic > > -- > 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] > -- 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]