Notice: Using ${var} in strings is deprecated, use {$var} instead in .../attachment.php on line 104