Ik prober iets te requiren, daarvoor gebruik ik deze code:
De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:
Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2
Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2
Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR] De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:
Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2
Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2
Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
