opendir() 함수에서 인자값으로 path가 들어가는데여..< br>
절대경로가 들어갈순없나여?< br>
예를들어 <br>
http://아이피/폴더/폴더 <br>
이런식이나 <br>
ftp://폴더/폴더/< br>
이런식으루여..< br>
/home/user/폴더/< br>
이런식으로는 가능한데 아이피나 도메인이 들어가면 에러나는군여..< br>
아시는분 꼭좀 알려주세여..< br>
걍 지나가지 마시구여....^^
|
답변 1개
채택된 답변
+20 포인트
2015-10-20 (화) 11:25:44
시스템내의 directory가 아닌경우 false를 return 하는것 같네요
아래는 메뉴얼에서 긁어왔습니다.
If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir() returns FALSE and generates a PHP error. You can suppress the error output of opendir() by prepending `@' to the front of the function name.
아래는 메뉴얼에서 긁어왔습니다.
If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir() returns FALSE and generates a PHP error. You can suppress the error output of opendir() by prepending `@' to the front of the function name.
답변을 작성하려면 로그인이 필요합니다.