所以我们引入了相对路径的写法:. <?php $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT']; $fp = fopen("$DOCUMENT_ROOT/text.txt",'w'); ?>.
確定! 回上一頁