tce__functions__upload_8php

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_functions_upload.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Functions

 F_is_allowed_upload ($filename)
 
 F_upload_file ($fieldname, $uploaddir)
 
 F_read_file_size ($filetocheck)
 

Detailed Description

Functions to upload files.

Function Documentation

F_is_allowed_upload (   $filename)

Check if the uploaded file extension is allowed.

Author
Nicola Asuni
Since
2001-11-19
Parameters
$filename(string) the filename
Returns
true in case of allowed file type, false otherwise

F_read_file_size (   $filetocheck)

returns the file size in bytes

Author
Nicola Asuni
Since
2001-11-19
Parameters
$filetocheck(string) file to check (local path or URL)
Returns
mixed file size in bytes or false in case of error

F_upload_file (   $fieldname,
  $uploaddir 
)

Uploads image file to the server.

Author
Nicola Asuni
Since
2010-06-12
Parameters
$fieldname(string) form field name containing the source file path
$uploaddir(string) upload directory
Returns
mixed file name or false in case of error

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy