Last active
May 9, 2020 10:41
-
-
Save mtgq/b2ba5056c70879473831b605f7ad67f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$file = 'C:\yjc\work\phpEnv\www\localhost\log.txt'; | |
if ($f = file_put_contents($file, '要写入的数据', FILE_APPEND)) { | |
echo "写入成功。<br />"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment