Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xmlsocket works in IE6 not in IE7 or FF

Status
Not open for further replies.

ThomasJSmart

Programmer
Sep 16, 2002
634
Hi

I have made a PHP socket server that is working fantastic in IE6 but flash cant connect to it in IE7 and FF..


The locations:

Flash: Server and Policy:
As it works fine in IE6 im assuming the server is fine and the problem is with flash or how the policy file is loaded in browsers other than IE6.

Code for loading policy:
Code:
if (preg_match("/policy-file-request/i", $buffer) || preg_match("/crossdomain/i", $buffer) || preg_match("/HTTP/i", $buffer) || preg_match("/GET/i", $buffer) || preg_match("/POST/i", $buffer)){
 // show policy as shown in link above
}


I tried this in flash:

Code:
System.security.loadPolicyFile('[URL unfurl="true"]http://beinspired.com:61982');[/URL]
System.security.allowDomain('beinspired.com:61982');
System.security.allowDomain('*');

Any ideas??

thanks!
Thomas





I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
no takers? :(

I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top