Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPでjson変数を使用するにはどうすればよいですか。
$filePath = '/home/user/public_html/uploads/samplefile.txt' echo '{"status":"success", "fileName" : "'.$filePath.'"}';
このように使いたいと言う。
$mail->addattachment($fileName);
ありがとう。