diff options
author | ctrlaltca@gmail.com <> | 2011-06-02 19:49:27 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-02 19:49:27 +0000 |
commit | cb90a05700b7ca6b621420598ff232aa2285310c (patch) | |
tree | dd18eb5af82decff38d18ec26d67fee1c6a8659d /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php | |
parent | 6394a6ffe3a9f3e4e698603b94503dc96f1e2652 (diff) |
upported to trunk/ last doc changes, everything should be fine now
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php new file mode 100644 index 00000000..d5cf990a --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveFileUpload/Home.php @@ -0,0 +1,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}";
+ }
+ }
+}
+
+?>
\ No newline at end of file |