Unclassified NewsBoard Code Reference

IPost.SetAttachFile function

Set the post's attachment file

function IPost.SetAttachFile ($AttachFile, $AttachFileName = '');

Parameters:

AttachFile
(string) local filename, "" deletes file from disk
AttachFileName  –  optional, default: ''
(string) original (diaplay) name

Return value:

(bool) success

Member of class: IPost

Implementation file: unb_lib/post.lib.php, line 417

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.