com-tecnick-tcexam-admin
[ class tree: com-tecnick-tcexam-admin ] [ index: com-tecnick-tcexam-admin ] [ all elements ]

Procedural File: tce_functions_upload.php

Source Location: /admin/code/tce_functions_upload.php



Page Details:

Functions to upload files.



Tags:

author:  Nicola Asuni
copyright:  Copyright © 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2001-11-19
license:  GNU General Public License








F_read_file_size [line 84]

mixed F_read_file_size( string $filetocheck)

returns the file size in bytes



Tags:

return:  file size in bytes or false in case of error
author:  Nicola Asuni
copyright:  Copyright © 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2001-11-19
license:  GNU General Public License


Parameters

string   $filetocheck   file to check (local path or URL)
[ Top ]



F_upload_file [line 63]

mixed F_upload_file( string $fieldname, string $uploaddir)

Uploads image file to the server.



Tags:

return:  file name or false in case of error
author:  Nicola Asuni
copyright:  Copyright © 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2001-11-19
license:  GNU General Public License


Parameters

string   $fieldname   form field name containing the source file path
string   $uploaddir   upload directory
[ Top ]



Documentation generated on Thu, 05 Feb 2009 12:44:41 +0100 by phpDocumentor 1.4.1