rabeea Posted April 16, 2010 Share Posted April 16, 2010 i get the following error after i run my check login code though the ouput displayed is correct. this error is appears on the top of the page. Warning: include(connection.php) [function.include]: failed to open stream. no such file or directory in C:\..... Link to comment https://forums.phpfreaks.com/topic/198753-include-error/ Share on other sites More sharing options...
Ken2k7 Posted April 16, 2010 Share Posted April 16, 2010 Relative to the file where you used that include function, where is the connection.php file located in? The same folder? Link to comment https://forums.phpfreaks.com/topic/198753-include-error/#findComment-1043092 Share on other sites More sharing options...
rabeea Posted April 16, 2010 Author Share Posted April 16, 2010 yes its in the same folder. it only displays this wanring only when i execute check login code even though the code is giving the correct output:S Link to comment https://forums.phpfreaks.com/topic/198753-include-error/#findComment-1043096 Share on other sites More sharing options...
ChemicalBliss Posted April 16, 2010 Share Posted April 16, 2010 Hang on, your saying the file that it says it cant find, is actually giving output? Trace the offending code (remove bits of code until you dont get that error, narrow it down) - Make sure you backup before though. Then give us some code. -cb- Link to comment https://forums.phpfreaks.com/topic/198753-include-error/#findComment-1043101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.