Пример #1
0
 public function ns($ns)
 {
     self::$ns = $ns;
     return new self();
 }
Пример #2
0
<tr><td nowrap>&nbsp;Email*<td>&nbsp;<input type=text name=my_login value='' style="width:160px;" />&nbsp;</tr>
<tr><td nowrap>&nbsp;Password*<td>&nbsp;<input type=password name=my_pass value='' style="width:160px;" />&nbsp;</tr>
<tr><td colspan=2 align=center><input type=submit value='Upload' /></tr>
<tr><td colspan=2 align=center><small>*You can set it as default in <b><?php 
    echo __FILE__;
    ?>
</b></small></tr>
</table>
</form>

<?php 
    exit;
}
if ($continue_up) {
    $not_done = false;
    ?>
<table width=600 align=center>
</td></tr>
<tr><td align=center>
<div id=info width=100% align=center>Upload Process</div>
<script>document.getElementById('info').style.display='none';</script>
<?php 
    $wupload = new Wupload($_REQUEST['my_login'], $_REQUEST['my_pass']);
    $files = $wupload->uploadFile($lfile, $lname);
    ?>
<script>document.getElementById('progressblock').style.display='none';</script>
<?php 
    foreach ($files as $file) {
        $download_link = $file['url'];
    }
}