[英]Getting error when i am sending attachment mail Warning: filesize()
錯誤:
警告:在/home4/moses/public_html/website.com/ipn-page中http://website.com/wp-content/uploads/2015/06/ddlg.jpg上的 filesize()[function.filesize]:stat失敗第72行的-template .php
我的代碼:
$path = 'http://website.com/wp-content/uploads/2015/06/';
$filename = 'unnamed.jpg';
$mailto = 'email@domain.com';
$subject = "Thank you for Than Near";
$file = $path . $filename;
$file_size = filesize($file);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.