I found the following in Google, but couldn't see it referenced in the manual at 
http://www.midgard-project.org/manual/en/functions.attachment.php.  Is this function
available in 1.4, or has it been deprecated?

mgd_stat_attachment
Name
mgd_stat_attachment -- Gives information about the attachment.
Synopsis

array mgd_stat_attachment(int id);


Description
Minimum version: Midgard 1.4 (Bifrost)

Gives the same information as the stat PHP function for the attachment with id id.

Returns an array with the following information: device, inode, inode protection mode, 
number of links, user id of owner, group id owner, [device type if inode device, ]size
in bytes, time of last access, time of last modification, time of last change, 
[blocksize for filesystem I/O,] number of blocks allocated.

Returns false on failure.

Example
<?php
  mgd_stat_attachment(13);
?>



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

Reply via email to