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 8436481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:11:21+00:00 2026-06-10T07:11:21+00:00

I have come unstuck with a job im doing that requires some flash xml

  • 0

I have come unstuck with a job im doing that requires some flash xml vars to be loaded by ajax, but I have to generate the xml file with php and for some reason it breaks when i try to jquery load it, but when i changed the extention from php to xml and it worked.

Now I would like to use mod rewrite to rewrite

settings.php?id=1 

to

/1/settings.xml

ive been trying to do it myself using tutorials but i just cant get it right.

Any help would be appreciated.

  • 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-06-10T07:11:23+00:00Added an answer on June 10, 2026 at 7:11 am

    I would like to use mod rewrite to rewrite settings.php?id=1 to /1/settings.xml

    which means this:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^id=([0-9]+)$
    RewriteRule ^([a-z_]+)\.php$ /%1/$1.xml [L]
    

    So when someone requests http://domain.com/settings.php?id=1, they get served the content at /1/settings.xml, but if it’s the other way around:

    RewriteEngine On
    RewriteRule ^([0-9]+)/([a-z]+)\.xml /settings.php?id=1 [L,QSA]
    

    So a request for http://domain.com/1/settings.xml will get served the content at /settings.php?id=1

    Since it’s never clear what “rewrite <uri> to <another uri>” ever means.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am building some basic sql query and have come unstuck on a 'group
I have come across some legacy code that has the following type of line:
I have come across some legacy code that has raised all my heckles as
I have come to know from book that for declaring a structure variable it
I have come across scripts that use: isset($_POST['submit']) as well as code that uses:
I have come across loop-unrolling but what other types of compiler optimization are there
I’m having fun with EF and have come unstuck. Originally I used the following
I have come accross the static HTML app for facebook pages that allows us
I have come across this rule in YSlow for performance improvement that says that
I have come across articles that state that SELECT COUNT(*) FROM TABLE_NAME will be

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.