Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 194825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:37:42+00:00 2026-05-11T16:37:42+00:00

I needed to add a crossdomain.xml file to my website so that an embeddable

  • 0

I needed to add a crossdomain.xml file to my website so that an embeddable flash widget can access its rss feed. The widget is throwing an error, and it looks like it’s because my crossdomain.xml file isn’t being seen as a valid xml file.

In noticed that if you browse to the crossdomain file on my site the browser opens the download dialog:
http://imgfave.com/crossdomain.xml

Whereas if you go to the crossdomain file on another site, the browser opens the file:
http://newfoundlandartstore.com/crossdomain.xml

Maybe my server isn’t including the proper headers for xml file? Is there anyway to have a php crossdomain file and set the headers in PHP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:37:42+00:00Added an answer on May 11, 2026 at 4:37 pm

    At the top, put:

    <?php
      header('Content-Type: text/xml');
    ?>
    

    To make the webserver run the .xml as a .php file, add this to .htaccess:

    RemoveHandler .xml
    AddType application/x-httpd-php .xml
    

    However, you can just avoid the PHP and simply write:

    AddType text/xml .xml
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attemping to use NetUseAdd to add a share that is needed by
Recently I needed to add drag & drop functionality to a Silverlight application. Can
Yesterday I found that I needed to add self to an object as it
EDIT: I just needed to add: import mx.controls.Image; I have an MXML file, and
I have a wix installer that will install an XML file and then modify
Scenario: I needed to add HttpUtility to my project, and I started by adding
I just downloaded Eclipse several hours ago, and needed to add Java3D to the
I'm using an HTML sanitizing whitelist code found here: http://refactormycode.com/codes/333-sanitize-html I needed to add
I'm writing an add-in for ReSharper 4. For this, I needed to reference several
We needed to monitor all processes Registry calls/File Sytem calls/Process creations in the system

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.