1WebCommon.originalName(3kaya)Kaya module referenceWebCommon.originalName(3kaya)
2
3
4

NAME

6       WebCommon::originalName - Get the real name for the file
7

SYNOPSIS

9       String originalName( Uploaded file )
10

ARGUMENTS

12       file A user-uploaded file
13

DESCRIPTION

15       Returns  the  name  for the file supplied by the web browser. Note that
16       this is usually but not necessarily the same as its name on the  user's
17       computer,  but  could  be  any string. You should filter this value for
18       acceptable characters before using it!
19

AUTHORS

21       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
22       (kaya@kayalang.org). For further information see http://kayalang.org/
23

LICENSE

25       The  Kaya  standard  library  is free software; you can redistribute it
26       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
27       License  (version  2.1  or  any later version) as published by the Free
28       Software Foundation.
29
31       WebCommon.Uploaded (3kaya)
32       WebCommon.allowFileUploads (3kaya)
33       WebCommon.contentType (3kaya)
34       WebCommon.tempPath (3kaya)
35
36
37
38Kaya                             December 2010   WebCommon.originalName(3kaya)
Impressum