Danny620 Posted September 16, 2009 Share Posted September 16, 2009 i keep getting Warning: require_once(./settings/mysqli_connect.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\index\sign.php on line 8 Fatal error: require_once() [function.require]: Failed opening required './settings/mysqli_connect.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\index\sign.php on line 8 if have a folder called controller inside i have a folder called settings and index but i placed a file in index folder and i need to go up a root then into the settings folder how do i do this Link to comment https://forums.phpfreaks.com/topic/174470-file-help/ Share on other sites More sharing options...
Bricktop Posted September 16, 2009 Share Posted September 16, 2009 Hi Danny620, If the "settings" folder is inside your "index" folder, then just change your require_once code to be: require_once('settings/mysqli_connect.php'); Hope this helps. Link to comment https://forums.phpfreaks.com/topic/174470-file-help/#findComment-919556 Share on other sites More sharing options...
Danny620 Posted September 16, 2009 Author Share Posted September 16, 2009 sorry i explained wrong the file that requires the mysqli con is in a folder called index and then u come out of that file and go into settings thats the file it requires Link to comment https://forums.phpfreaks.com/topic/174470-file-help/#findComment-919574 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.