<?php
/**
 *      [eminer] (C)20013-2099 eminer Inc.
 *      This is NOT a freeware, use is subject to license terms
 *      $Id: mr_co_exportothersite.php  September 21, 2014, 9:17 am Hogan $
 */
$ed9b2b43a=1; require_once(dirname(__FILE__)."/config.php"); if($eb5707348=='ftplogin'){ include_once eminerINC.'/ftp.class.php';  $e8b13663b=$e8b13663b?true:false; $e1fef4184 = array( 'hostname' => $eacceac27, 'port'=>$eabeafb5c, 'username' => $edb9a100b, 'password' => $e3f6cf642, 'e02030dd4' => $e02030dd4, 'debug' => 'TRUE', 'e8b13663b' => $e8b13663b, ); $eb4a88417=array(); $eff104b2d = new eff104b2d($e1fef4184); $eff104b2d->ef1e0ce17=true; if(!$eff104b2d->eb640a0ce()){ $eb4a88417['status'] = "error"; $eb4a88417['info'] = "error::<span class='initmsg'>出现故障，未成功登陆</span>"; exit(json_encode($eb4a88417)); } $ef080dbb3='data/test.rar';  preg_match('/[^\/]*\.(jpg|gif|bmp|png|rar|zip)$/', $ef080dbb3, $e9c28d32d ); $ed91a1af4 = $e9c28d32d[0];  if($e2081beeb=$eff104b2d->e76ee3de9($ef080dbb3, $ed91a1af4)){ $eb4a88417['status'] = "success"; $eb4a88417['info'] = "success::<span class='initmsg'>成功登陆且上传了文件</span>"; }else{ $eb4a88417['status'] = "error"; $eb4a88417['info'] = "error::<span class='initmsg'>登陆成功，但未成功上传</span>"; } exit(json_encode($eb4a88417)); }else require_once(eminerINC.'/Transit.php');