I was try to create a tmp file for attachments from Inbox emails, but the filename from Mac seems contain "/" slash chars, which prevent it from creating files on linux. So I had to replace the slash with some other chars. Is there any better way to do it?
Thanks
// $row[ "filename" ] is from DB, which may contain "/"
$sFilename = fopen($row[ "filename" ], "w");