AW: AW: [PHP] remotly include file

From: Date: Tue, 08 May 2001 15:43:21 +0000
Subject: AW: AW: [PHP] remotly include file
Groups: php.general 
Request: Send a blank email to php-general+get-51913@lists.php.net to get a copy of this message
> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#51913) next »