Hi
I need to implement a simple PHP proxy in a web application I am building (Its flash based and the destination service provider doesn't allow edits to their crossdomain.xml file)
Herhangi bir php uzmanları aşağıdaki 2 seçenekleri tavsiye edebilir miyim? Ayrıca, ben düşünüyorum, ama ben de bazı başlık bilgisi eklemek gerekir ki, emin değilim.
Herhangi bir geri bildirim için teşekkür ederiz!
seçenek1
$url = $_GET['path'];
readfile($path);
opsiyonu2
 $content .= file_get_contents($_GET['path']);
 if ($content !== false) 
 {  
      echo($content);
 } 
 else 
 {  
      // there was an error
 }