Procedural File: tce_functions_upload.php
Source Location: /admin/code/tce_functions_upload.php
Page Details:
Functions to upload files.
Tags:
F_is_allowed_upload [line 62]
true F_is_allowed_upload(
string $filename)
|
|
Check if the uploaded file extension is allowed.
Tags:
Parameters
string |
$filename |
the filename |
F_read_file_size [line 110]
mixed F_read_file_size(
string $filetocheck)
|
|
returns the file size in bytes
Tags:
Parameters
string |
$filetocheck |
file to check (local path or URL) |
F_upload_file [line 85]
mixed F_upload_file(
string $fieldname, string $uploaddir)
|
|
Uploads image file to the server.
Tags:
Parameters
string |
$fieldname |
form field name containing the source file path |
string |
$uploaddir |
upload directory |
|
|