[英]fopen in php 7 with change different operating system
似乎$email
包含一些空格。 trim
電子郵件和用戶名總是好的。
$file = self::COOKIES_FOLDER . DS . trim($email) . ".txt";
if (file_exists($file) === false) {
$fh = fopen($file, 'w');
fclose($fh);
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.