Un proxy PHP pour flash FLEX Silverlight

Si vous développez des applications  flash, vous avez du vous confronter aux problèmes de cross domain. Pour des raisons de sécurité le plugin flash player bloque la lecture de données d’autres sites.

Voici un script PHP qui agit comme proxy et qui récupère les data du site, il nécessite la librairie CURL de PHP :

$ch = curl_init();
$timeout = 30;
$userAgent = $_SERVER[‘HTTP_USER_AGENT’];

curl_setopt($ch, CURLOPT_URL, $_REQUEST[‘url’]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);

$response = curl_exec($ch);

if (curl_errno($ch)) {
echo curl_error($ch);
} else {
echo $response;

Pour CURL:

  1. Kanada vizesi

    Kanada vizesi hakkında detaylı bilgi veya Yurtdışında eğitim almak için ilk adımı atın! websitesi adresimizi ziyaret ederek bilgi alın ve hayallerinizi gerçekleştirin.

  2. off white t shirt

    I just wanted to write down a quick message in order to say thanks to you for these fabulous steps you are writing here. My prolonged internet research has finally been paid with sensible strategies to exchange with my friends and family. I ‘d repeat that we visitors actually are rather blessed to dwell in a good network with so many special individuals with very helpful opinions. I feel very lucky to have encountered the website and look forward to so many more thrilling moments reading here. Thanks again for a lot of things.

  3. Çevre dostu konutlar

    Çevre dostu konutlar hakkında detaylı bilgi veya ABC Tiny House ile hayallerinizdeki küçük evi gerçeğe dönüştürmek için hemen iletişime geçin ve size özel bir tasarım planı oluşturalım.

  4. Diyarbakır Son Dakika

    Diyarbakır Son Dakika hakkında detaylı bilgi veya Siz de gündemdeki haberleri yakından takip etmek için Öz Diyarbakır Gazetesi’nin web sitesini ziyaret edin ve görüşlerinizi bizimle paylaşın!

  5. goyard outlet

    Needed to write you one little word just to give thanks as before for these amazing solutions you have shared at this time. It has been so seriously generous of you giving extensively all that a number of people could possibly have distributed as an electronic book to make some profit for themselves, most importantly considering that you might have done it in case you considered necessary. Those points additionally served as the great way to be certain that other individuals have similar eagerness much like mine to understand a great deal more in regard to this problem. I’m certain there are lots of more enjoyable occasions up front for people who scan your blog.

  6. a bathing ape

    I as well as my pals were actually looking through the best tips and hints from the website then the sudden got a horrible suspicion I never expressed respect to you for those techniques. These boys are already passionate to see them and have now in fact been enjoying these things. I appreciate you for simply being so considerate and for making a choice on certain incredibly good things most people are really wanting to be informed on. My very own honest regret for not saying thanks to you earlier.

  7. Diyarbakır Büro Mobilyaları

    Diyarbakır Büro Mobilyaları hakkında detaylı bilgi veya verimli bir çalışma ortamı için « https://www.diyarburo.com/ » adresine göz atın ve kaliteli ofis mobilyalarıyla ofisinizi en uygun fiyatlara yenileyin!

  8. Sivas Son Dakika Haberleri

    Sivas Son Dakika Haberleri hakkında detaylı bilgi veya sivashaberim.com’u ziyaret edin ve Sivas’ta neler olup bittiğine dair en güncel haberleri öğrenin. Siz de Sivas’ı yakından takip etmek istiyorsanız harekete geçin ve hemen tıklayın!

  9. yelek modelleri

    yelek modelleri hakkında detaylı bilgi , Yaratıcılığınızı keşfedin ve yeni hobiler edinin! RenkliHobi’de bulacağınız sınırsız hobi fikirleri ile hayatınızı daha keyifli hale getirin. Hemen ziyaret edin.

  10. bayrak şiiri sözleri

    bayrak şiiri sözleri hakkında detaylı bilgi veya 24Okur’da sinemadan astrolojiye, müzikten edebiyata kadar her şeyi bulabilirsiniz! Siz de kendinizi geliştirmek ve farklı bakış açıları kazanmak için bu harika kaynağı keşfedin. Hemen tıklayın ve 24Okur’un zengin içeriğiyle tanışın!

  11. mali müşavirlik

    mali müşavirlik hakkında detaylı bilgi veya muhasebe süreçlerinizi optimize etmek ve mali durumunuzu güçlendirmek için Muhasebece.com’u denemelisiniz. Verimli araçları ve uzman tavsiyelerini kullanarak finansal hedeflerinizi gerçekleştirin. Zaman kaybetmeden siteye girin ve büyümeye doğru bir adım atın!

  12. tek kullanımlık karton bardak

    tek kullanımlık karton bardak hakkında detaylı bilgi için veya ürünlerinizi güvenle teslim etmek ve markanızı etkileyici bir şekilde sunmak için Karahan Ambalaj’ın sunduğu çözümleri keşfedin. Çeşitli ambalaj seçenekleri ve yaratıcı tasarımları ile dikkatleri üzerinize çekin. Hemen harekete geçin ve başarıya giden yolculuğunuzda Karahan Ambalaj’ın desteğini alın!

  13. Bingöl çapakcur

    Bingöl çapakcur hakkında detaylı bilgi veya heyecan verici haberleri kaçırmamak için Bingöl Kent Haber’i keşfedin! Sitenin zengin içeriğiyle güncel kalın ve toplumunuzla ilgili önemli olaylardan haberdar olun.


    EPOKSİ KAPLAMA hakkında detaylı bilgi veya daha fazla bilgi almak ve profesyonel ekipleriyle çalışarak kaliteli yapılara sahip olmak için hemen « https://www.tenyapi.com/ » adresini ziyaret edin!

  15. yeezy 500

    Thank you a lot for providing individuals with remarkably special chance to read articles and blog posts from here. It really is very fantastic and also packed with fun for me personally and my office colleagues to search your site at least three times per week to read through the fresh stuff you will have. Of course, I am always satisfied considering the impressive tips and hints you serve. Some 4 ideas on this page are in truth the finest we’ve had.

  16. golden goose

    I wish to voice my admiration for your kind-heartedness giving support to persons who must have guidance on this particular concern. Your real dedication to getting the solution around has been remarkably valuable and have without exception made workers just like me to arrive at their ambitions. Your personal warm and friendly guideline denotes much a person like me and somewhat more to my office colleagues. Thanks a lot; from everyone of us.

  17. fear of god

    I want to convey my gratitude for your kind-heartedness in support of people that really want help with that concern. Your very own commitment to getting the solution across was pretty interesting and has continuously allowed girls just like me to reach their endeavors. Your valuable suggestions implies this much to me and even further to my mates. Regards; from everyone of us.

  18. kyrie 8 shoes

    A lot of thanks for your entire efforts on this site. My aunt really loves conducting research and it’s really easy to understand why. Almost all know all concerning the dynamic tactic you offer advantageous tips via the website and in addition inspire response from others on this matter so our simple princess is in fact understanding a whole lot. Enjoy the rest of the new year. You are always doing a terrific job.

  19. fear of god essentials

    I simply wished to thank you so much again. I do not know the things that I would’ve gone through in the absence of these techniques contributed by you relating to such field. It has been an absolute scary dilemma for me, nevertheless discovering this specialised mode you handled that took me to weep over gladness. I will be happier for the help and in addition hope you really know what a great job that you’re accomplishing educating people through a site. More than likely you have never encountered all of us.

  20. yeezy wave runner 700

    I would like to get across my affection for your kind-heartedness for folks that should have assistance with this concept. Your very own commitment to passing the solution up and down turned out to be amazingly useful and have in most cases made ladies just like me to achieve their goals. Your insightful suggestions indicates a whole lot a person like me and much more to my fellow workers. Many thanks; from everyone of us.

  21. ajans scripti

    ajans scripti hakkında detaylı bilgi için « https://viptema.com/ » adresine gidin ve güçlü, profesyonel ve etkileyici temalar arasından seçim yapın. İster bir blog yaratıyor olun, ister bir işletme web sitesi oluşturuyor olun, size en uygun temayı bulmak için hemen harekete geçin! Hayal ettiğiniz web sitesini oluşturmak için doğru yerdesiniz!

  22. palm angels clothing

    My spouse and i were absolutely glad when Chris could complete his investigations from your precious recommendations he discovered from your own web page. It is now and again perplexing to simply find yourself releasing techniques which many others have been selling. We really figure out we’ve got the writer to appreciate because of that. All the illustrations you made, the straightforward blog navigation, the relationships your site make it possible to engender – it’s mostly astonishing, and it is making our son and us consider that this topic is enjoyable, which is certainly extremely pressing. Thank you for all!

  23. off white shoes

    My wife and i were absolutely fortunate that Edward managed to conclude his studies via the precious recommendations he made from your own web site. It’s not at all simplistic to just find yourself releasing secrets and techniques that many many others might have been selling. So we know we’ve got the writer to give thanks to for that. The entire explanations you’ve made, the straightforward site menu, the relationships your site give support to promote – it is most powerful, and it’s really aiding our son in addition to the family understand the theme is amusing, and that’s extremely important. Thank you for all the pieces!

  24. property in mersin

    For detailed information about property in mersin, act now and explore the listings on ResortPropertyTurkey.com to discover your ideal investment or holiday home. Do not miss the incredible opportunities waiting for you in the Turkish resort property market.

  25. Balon Süsleme

    Balon Süsleme hakkında detaylı bilgi veya etkinliklerinizi unutulmaz kılacak profesyonel organizasyon hizmetleri için hemen şimdi web sitesimizi ziyaret edin.

  26. buy real estate in turkey

    Detailed information about buy real estate in turkey, Act now and visit MyKeyTurkey.com to discover a hassle-free property buying experience with expert guidance every step of the way. Don’t miss out on incredible real estate deals in Turkey.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.