Unclassified NewsBoard Code Reference

is_valid_attach_size function

Check if a post attachment file has correct filesize

function is_valid_attach_size ($filename, &$thread);

Parameters:

filename
(string) filename
thread
(IThread) object to add attachment to (important to evaluate ACL rules correctly)

Implementation file: unb_lib/post.inc.php, line 106

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