Link to home
Start Free TrialLog in
Avatar of Angha110
Angha110

asked on

loading XML file from a different domain

Simply loading an XML file from another domain.
Well, I tried and googled. I saw the discussion on Crossdomain.xml file.
No success.

If I need to use crossdomain.XML, how to do it. what the content should be. I tried a few different one and had the file on the server (myDomain.com/crossdomain.xml) byt my file exost in subfolders. I also tried calling the XML file using a PHP file, with no success.

Avatar of dgofman
dgofman
Flag of United States of America image

You must defined on source host a crossdomain.xml file in the webhost ROOT directory
Otherwise  you will not able to access cross domains


http://kb2.adobe.com/cps/142/tn_14213.html
Avatar of Angha110
Angha110

ASKER

It is there.
Could it be my hosting plan? I have a shared hosting plan with Networksolutions.

I have been spending so much time on this these last few days.
No success yet
Can you load FireFox + FireBug and open Net tab

Check where is the error?
Here is the message:
URL file-access is disabled in the server configuration
Do you have access to this server as administrator you may need to create a crossdomain.xml file
I did some google search and tried it with no success.
Do you have an instruction that I can follow.
I need to know the destination server name (JBOSS, TOMCAT, IIS etc)
On this one, I am trying to get Yahoo Weather
Can you provide an URL?
May I have your email so I can send the link privately?
david_gofman@yahoo.com
I sen the email.
I didn;t get it
Send it again, a minute ago
I answered!
Please check email again. The path was not correct. The file is there.
I didn't get any other emails
I just send it again to this email: dgofman@gmail.com>


Why you are asking PHP question in Flash zone. If you want to resolve via Flash or Flex use this example

http://www.flepstudio.org/forum/tutorials/588-flash-cs3-yahoo-weather.html
You are right, this has turned out a PHP question.
The application I am working on is a Flash application. But I need 5 days forecast and during my researches, it seems that the flash alone (using rss feed) would not deliver more than 2-3 day of forecast.

Anyway, I don't know how to move this question to PHP section.
I still don't know how to fix this.

ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial