Weebs adlı üyeden alıntı:
mesajı görüntüle
Medya Dosyalarını Farklı Sunucuda Barındırmak
12
●1.212
- 02-06-2010, 17:15:16gerçekten profesyonel olsun istersen cdn (content delivery network) kurabilir yada aşağıdaki firmalardan hizmet alabilirsinmobilist adlı üyeden alıntı: mesajı görüntüle
Advection.NET
Akamai Technologies
Amazon CloudFront
BitGravity
CacheFly
Chinacache
CDNetworks
Cotendo
EdgeCast Networks
Highwinds Network Group
Internap
Level 3 Communications
Limelight Networks
SimpleCDN
yok eğer kendi çapında birşeyler yapmak istersen yurtdışı bağlantı ücreti ucuz bir sunucu alarak sitene yüklenen içerikleri oraya upload ettirebilirsin.
ben video sitemde öyle yapıyorum
kullandığım kod aşağıda.
ihtiyacın olan class dosyası http://www.phpclasses.org/package/17...-pure-PHP.html adresinde, kodun kullanımı;
if($server_id != '' && $server_id != '1') { // Upload the video to this server, unless the server is "localhost" include($config['BASE_DIR'].'/includes/3rd_party/pemftp/ftp_class.php'); // Get the FTP connection settings $sql = "SELECT * FROM remote_srv WHERE ID='$server_id'"; $rs = $conn->execute($sql); // Move the file to the streaming server, using FTP $ftp_host = $rs->fields['ftp_host']; $ftp_uname = $rs->fields['ftp_uname']; $ftp_pass = $rs->fields['ftp_pass']; $ftp_path = $rs->fields['ftp_path']; $ftp = new ftp(TRUE); $ftp->Verbose = FALSE; $ftp->LocalEcho = FALSE; $ftp->SetServer($ftp_host); $ftp->connect(); if($ftp->login($ftp_uname, $ftp_pass)) { $ftp->SetType(FTP_BINARY); $ftp->Passive(TRUE); $ftp->chdir($ftp_path); $filedir = $config['FLVDO_DIR']; $filename = "".$vid.".flv"; $filepath = "".$filedir."/".$filename.""; if($ftp->put($filepath, $filename)) { // Update the server ID for this video in the videos DB table $sql = "UPDATE video SET srv_id='$server_id' WHERE VID=$vid LIMIT 1"; $conn->execute($sql); // Delete the video file from "localhost" @unlink($filepath); } } $ftp->quit(); } - 03-06-2010, 08:53:16tam netdirekt dicektim yazmıssınızmobilist adlı üyeden alıntı: mesajı görüntüle
http://www.netdirekt.com.tr/cube-cdn.html
kendileri ile iletişime geçin bence yardımcı olurlar açıklayın durumunuzu.
kullandığım kod aşağıda.