テックアイエスガイド エディター
無料プログラミング体験会の予約
実行
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<body>
<?php
$file = fopen("test.txt","r");
if (is_resource($file)) {
echo "File is open";
} else {
echo "Error open file";
}
?>
</body>
</html>