Oliver Albers <[EMAIL PROTECTED]> wrote:

> <[EMAIL PROTECTED]> wrote:
> 
> > I'm new to midgard as well, but I would think something like
> > 
> > $file=mgd_get_attachment($attachment_id);
> > echo($file->location);
> > 
> > can't say that I've tried it though.
> 
> Thanks for your answer. I did try that and it simply doesn't show
> anything. Some print_r($file) didn't show up a location attribute
> either.

$object->location for attachments return relative path from Your system.
To get full path You should know blobs dir path for this host and use it
with $object->location.

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to