Unclassified NewsBoard Code Reference

UnbIsValidPhotoName function

Check if a user photo file has correct filetype

function UnbIsValidPhotoName ($filename);

Parameters:

filename

Return value:

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

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

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