建了个PHP文件并上传到服务器,为何打不开指定文本文件呢?welcome.txt已经上传了,并且在同一目录下,应该怎么写呢?小弟新手,代码:
<html>
<body>
<?php
$file=fopen("welcome.txt","r");
?>
</body>
</html>