나는 PHP와 MySQL을 사용하여 로그인 시스템을 만들기 위해 노력하고 대신 표시하기위한 것입니다 메시지 : Array([0]=>mysql[1]=> host)
이 나타나고있다 :치명적인 오류 및 경고?
Warning: require_once(0): failed to open stream: No such file or directory in C:\xampp\htdocs\myfiles\core\init.php on line 21
Fatal error: require_once(): Failed opening required '0' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\myfiles\core\init.php on line 21
누구나 이런 일이 이유를 알고 난에 무엇을 할 수 있는지 멈춰? PHP에서 require_once 'classes/' + $class + '.php';
require_once는 파일 경로를 나타내는 문자열을 필요로하며 파일 경로가 아닌 0을 전달합니다. –
'require_once() '에 포함시키려는 파일이 없습니다. 아마도 잘못된 길을 가졌을 것입니다. –
'+'대신'.'를 사용하여 경로 문자열을 연결하십시오. http://www.php.net/manual/en/language.operators.string.php – showdev