应该是银行吧
<?
class uploadhttp{ var $file_type;
var $url;
var $file_name=null;
var $filenameold=null;// init
function init($url){
$this->url=$url;
$this->file_type=strtolower(strrchr($url,"."));
$this->filenameold=strtolower(strrchr($url,"/"));
if ( strlen( $this->filenameold )>0 ){
$this->filenameold=substr( $this->filenameold ,1);
}
}// savefile
function sendfile($filename){
$file = fopen ($this->url, "r");
if (!$file) {
echo "<p>Unable to open remote file.\n";
exit;
}
$handle = fopen ( $filename , "w");
while (!feof ($file)) {
$line = fgets ($file, 1024);
fputs($handle,$line);
}
fclose($file);
fclose($handle);
$this->file_name= $filename ;
}
}
?>
<?
class uploadhttp{ var $file_type;
var $url;
var $file_name=null;
var $filenameold=null;// init
function init($url){
$this->url=$url;
$this->file_type=strtolower(strrchr($url,"."));
$this->filenameold=strtolower(strrchr($url,"/"));
if ( strlen( $this->filenameold )>0 ){
$this->filenameold=substr( $this->filenameold ,1);
}
}// savefile
function sendfile($filename){
$file = fopen ($this->url, "r");
if (!$file) {
echo "<p>Unable to open remote file.\n";
exit;
}
$handle = fopen ( $filename , "w");
while (!feof ($file)) {
$line = fgets ($file, 1024);
fputs($handle,$line);
}
fclose($file);
fclose($handle);
$this->file_name= $filename ;
}
}
?>
www.google.com