Lionel
05-21-2010, 10:38 AM
Hi,
function fetch_attachment_path($userid, $attachmentid = 0, $thumb = false, $overridepath = '')
Am I correct to assume that attachmentid is the filedataid?
When allowing duplicate attachments and I try to do a
file_get_contents(fetch_attachment_path($userid, $attachmentid),'100000000');
and I get an error for the duplicates like file not found.
If I use the filedataid, that seems to work.
function fetch_attachment_path($userid, $attachmentid = 0, $thumb = false, $overridepath = '')
Am I correct to assume that attachmentid is the filedataid?
When allowing duplicate attachments and I try to do a
file_get_contents(fetch_attachment_path($userid, $attachmentid),'100000000');
and I get an error for the duplicates like file not found.
If I use the filedataid, that seems to work.