summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TFileUpload/Home.php
blob: d5cf990a99c96bf52c66648797dce07cd6008b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class Home extends TPage
{
	public function fileUploaded($sender,$param)
	{
		if($sender->HasFile)
		{
			$this->Result->Text="
				You just uploaded a file:
				<br/>
				Name: {$sender->FileName}
				<br/>
				Size: {$sender->FileSize}
				<br/>
				Type: {$sender->FileType}";
		}
	}
}

?>