Table of contents
Package: com\tecnick\tcexam\admin
Tags
- file: Functions to upload files.
- author: Nicola Asuni
- since: 2001-11-19
Functions
F_is_allowed_upload()
File: tce_functions_upload.php line 30
F_is_allowed_upload(mixed $filename) : true
Parameters
- $filename : mixed: (string) the filename
Tags
- author: Nicola Asuni
- since: 2001-11-19
Return values
true —
in case of allowed file type, false otherwise
F_upload_file()
File: tce_functions_upload.php line 49
F_upload_file(mixed $fieldname, mixed $uploaddir) : mixed
Parameters
- $fieldname : mixed: (string) form field name containing the source file path
- $uploaddir : mixed: (string) upload directory
Tags
- author: Nicola Asuni
- since: 2010-06-12
Return values
mixed —
file name or false in case of error
F_read_file_size()
File: tce_functions_upload.php line 78
F_read_file_size(mixed $filetocheck) : mixed
Parameters
- $filetocheck : mixed: (string) file to check (local path or URL)
Tags
- author: Nicola Asuni
- since: 2001-11-19
Return values
mixed —
file size in bytes or false in case of error