PDA

View Full Version : function fetch_attachment_path


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.

toolmanwill
05-21-2010, 02:09 PM
yes u gotta use filedataid now, thats what number it saves for folder in filesystem now

Lionel
05-21-2010, 02:45 PM
Thank you.