waverider303 Posted March 31, 2009 Share Posted March 31, 2009 Hi im using the Zend AMF framework to display database entries in my flash website. The problem is that the ZEND AMF connects only when I dont use the www. prefix before my website... Example that doesnt work: http://www.stleo.biz/awards_external.html Example without the www: http://stleo.biz/awards_external.html Its the box on the right. any help? Quote Link to comment https://forums.phpfreaks.com/topic/151876-flash-movie-using-zend-amf-framework/ Share on other sites More sharing options...
xylex Posted March 31, 2009 Share Posted March 31, 2009 Flash considers www.domain.com a separate server than domain.com, so there's a check to prevent XSS or spoof type attacks. You either need to remove the prefix part of the full URL - "http://www" - where you're point the Flash to the server and use a relative path, or you need to allow www.domain.com to share information cross domain with domain.com by adding a crossdomain.xml file to your webroot. Quote Link to comment https://forums.phpfreaks.com/topic/151876-flash-movie-using-zend-amf-framework/#findComment-797583 Share on other sites More sharing options...
waverider303 Posted March 31, 2009 Author Share Posted March 31, 2009 how do i make a crossdomain.xml and where do I put it? Quote Link to comment https://forums.phpfreaks.com/topic/151876-flash-movie-using-zend-amf-framework/#findComment-797893 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.