Include Problem

Xmay

Grünschnabel
also folgendes ich versuch ist es möglich eine include wie folgend zumachen.

include("..../inc.config.php");

das include file liegt im ordner /

und das php file wo include werden soll im ordner /sections/download/

aber wenn ich es "includen" will spuck es nur diesen error aus:

Warning: main(..../inc.config.php): failed to open stream: No such file or directory in C:\Apache2\htdocs\project\sections\download\install.php on line 11

Warning: main(): Failed opening '..../inc.config.php' for inclusion (include_path='.;c:\php4\pear') in C:\Apache2\htdocs\project\sections\download\install.php on line 11

Notice: Undefined variable: dbhost in C:\Apache2\htdocs\project\sections\download\install.php on line 12

Notice: Undefined variable: dbuser in C:\Apache2\htdocs\project\sections\download\install.php on line 12

Notice: Undefined variable: dbpass in C:\Apache2\htdocs\project\sections\download\install.php on line 12

Notice: Undefined variable: dbank in C:\Apache2\htdocs\project\sections\download\install.php on line 16

Notice: Undefined variable: dbank in C:\Apache2\htdocs\project\sections\download\install.php on line 17
Die Datenbank: konnte nich ausgewählt werden.






Aber ! wenn ich das file in den ordner sections lege funkt das einwandfrei ! das will ich aber net


ist des möglich ein include file des zwei ordner eben unter der install.php zu "includen" ?
 
-

PHP:
include("../../inc.config.php");

Würdest du bitte bei deinen nächsten Beiträgen auf die deutsche Rechtschreibung achten. Danke.
 
Zurück