그래서 나는 텍스트 파일에서 한 줄의 PHP 프로그램을 가지고있다. leapMotionSandbox 파일 (게시물/: 그럼 내가 WAMP 서버이상한 오류 나는 PHP로 받고있다
경고를 사용하고, 그것이 다른 텍스트 파일
$posts = "posts/posts.txt";
$postsLines = file($posts);
$fetchingPost = TRUE;
$postNumber = 0;
$postPointer;
$postPointerString;
$postLines;
$postTag;
$postTitle;
$postContent;
$endCondition = "end";
while ($fetchingPost == TRUE) {
$endOfFile = strcmp($postsLines[$postNumber], $endCondition);
if ($endOfFile == 0) {
$fetchingPost = FALSE;
}
if ($endOfFile <> 0) {
$postPointer[$postNumber] = $postsLines[$postNumber];
$postLines = file($postPointer[$postNumber]);
$postNumber = $postNumber + 1;
}
}
를 가리 키도록 읽을 텍스트의 라인을 사용하고 내가 그것을 실행할 때 나는이 오류를 얻을. txt) : 스트림을 열지 못했습니다. C : \ wamp \ www \ noahhuppert \ Paralax v2 \ index.php에 잘못된 인수가 있습니다.
경고 : 파일 (posts/topDownShooter.txt) : 스트림을 열지 못했습니다 : 잘못된 argument in C : \ wamp \ www \ noahhuppert \ Paralax v2 \ index.php on line 45
제발 도와주세요
라인 (45) 어느? – Barmar