summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php
blob: 04a9bfaf0d80d9fcec5418ac22d54bfeeb5cb1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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}";
		}
	}
}