Php anlamadığım İçin Yardımlarınız Bekliyorum..

dosyayı direk web üzerinden erişimi kapatmak için
kod war daha önce kullandığım..

<?php  

$referer = $_SERVER['HTTP_REFERER'];  

if ($referer == "")  
{  
echo "Dosyaya direk erişim yasak.";  
}  

else  
{
Bunu Şu Dosyaya Monte Ederseniz Sevinirim..

<?= '<' . '?xml version="1.0" encoding="utf-8"?' . '>' ?>
<player sessionId="e532740bbd7b8725xxxxxxxxxx" time_name="10" color="474747" language="eng" logo="http://xxxxx.tv/new/logom.png" logo_url="http://xxxx.tv" footer="http://xxx.tv/deneme/pic/footer.png" syte_title="Sitene Ekle" email_title="Ğа e-mail" close_title="Kapat" chanel_title="Izlenen Kanal" chanel_title_all="Kanallar" syte_message_title="Playeri Web Sitende Paylas" email_message_title="Send link to a friend ..." color_title="Color player" youemail_title="Your e-mail" language_title="language" getcode_title="Get the code" copycode_title="Copy Code" thema_title="Tema" thema_message="Hello" message_title="Message" message_message="What a cool player" sendmail_title="Send" advert_title="Go to the advertiser's website" autorization_title="Authorization" air_now="Now Playing" air_future="Coming" default_channel_id="15" crypt_key_1="" crypt_key_2="" channel_nowork="Broadcast channel is not working" t_channel_add="More channels" url_channel_add="http://google.com.tr" t_archive="TV Archive" url_archive="http://rambler.ru" autorization_login="Login:" autorization_password="Password:" autorization_enter="Sign in" autorization_registration="Register" autorization_registration_url="http://www.xxxx.tv/register.html" autorization_remember_password="Forgot your password?" autorization_remember_password_url="http://xxxx.tv/restore.php" autorization_error="Login or password is entered incorrectly" autorization_error2="Number of login attempts exhausted. Try entering later!" quality1_message="To view the online TV in high quality you need to register." help_message="Donate, top-up" quality2_message="Free high quality channels available: Russia1, Russia 2, etc. For watching television in high quality to increase your balance. Cost - 60 rubles per 1 month. Paying Access project you help!" user_user="User:" user_username="TEST1" user_balance="Account balance:" user_userbalance="100.00" user_access="Access to oplochen:" user_message="In free mode you some channels are available in high quality. If you want to watch all the channels in high quality - please fill up the balance. The total cost of 60 rubles per 1 month." user_useraccess="11 February 2012" user_addbalance="Fill up balance" user_addbalance_url="http://xxxx.tv/payment.php" user_quitbalance="Exit">
  <user/>
  <syte name="faycbuk" logo="http://xxxx.tv/deneme/player/pic/facebook.png" url="http://facebook.com"/>
  <syte name="tweeter" logo="http://xxxx.tv/deneme/player/pic/twitter.png" url="http://twitter.com"/>
  <color name="gray" color="474747"/>
  <color name="blue" color="6499AB"/>
  <color name="red" color="FE0E0F"/>
  <color name="green" color="168600"/>
  <color name="dark blue" color="6500CA"/>
  <language name="Russian" name_en="rus"/>
  <language name="English" name_en="eng"/>
  <language name="Ukrainian" name_en="ukr"/>
  <size name="LQ"/>
  <size name="HQ"/>
  <categories name="Rus Kanallar" id="1"/>
  <categories name="Haber Kanallar" id="2"/>
  <categories name="Cocuk Kanallar" id="3"/>
  <categories name="Film Kanallar" id="4"/>
  <categories name="Eglence Kanallar" id="5"/>
  <categories name="Spor Kanallar" id="6"/>
  <categories name="Muzik Kanallar" id="7"/>
  <categories name="Belgesel Kanallar" id="8"/>
  <categories name="Ulusal Kanallar" id="9"/>
  <categories name="Pazarlama Kanallar" id="11"/>
  <channel name="Eurosport" channel_id="5" format="" stream_key="1" stream_reserve_1="" stream_reserve_2="" logo="http://xxxxx/deneme/player/pic/logo/eurosport.jpg" stream="rtmpe://xx.xxx.xx/x" stream_name="channel_x.stream" categories_id="6" hq_stream="rtmpe:///x_hd" hq_stream_name="channel_x_hd" hq_stream_key="1" hq_free=""/>
</player>