Unclassified NewsBoard Code Reference

UnbIsValidAvatarName function

Check if an avatar file has correct filetype

function UnbIsValidAvatarName ($filename);

Parameters:

filename

Return value:

(int) 1: no '.' found
2: invalid filename extension

Implementation file: unb_lib/cp.inc.php, line 55

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