CodeCharge Studio

FileFolder Run-Time Property (PHP)

Applies to

FileUpload Control

Type

string

Access

read/write

Syntax

object->FileFolder [= value]

Description

Stores the name of the folder where the uploaded files will be stored on the web server.

Examples

The following example shows how to change the upload file folder depending on the login name of the logged in user. The form or page with the FileUpload component should be restricted.
global $files;
$files->file->FileFolder = "/www/files/" . CCGetUserLogin() . "/";
where $files is the name of the form and file is the name of the FileUpload component.

See also

FileSizeLimit Property
TemporaryFolder Property


On-line, printable versions and updates