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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:34:41+00:00 2026-05-11T11:34:41+00:00

This is my site. When i will select songs for playing player.php file will

  • 0

This is my site. When i will select songs for playing player.php file will open and it will play the songs selected.

Everything working fine,but the problem is when o will go back and select another songs it is opening one more player window. please help me.

I want only one player window has to be opened even i select other songs also. to check the problem go to this url and play the songs once

player.php

 createElement('playlist'); $dom->appendChild($root); $root->setAttribute('version', '1'); $root->setAttribute('xmlns', 'http://xspf.org/ns/0/'); $rootnext = $dom->createElement('trackList'); $root->appendChild($rootnext); foreach ($song as $counter) {     $tokens = ',';     $tokenized = strtok($counter, $tokens); // create child element  $song = $dom->createElement('track'); $rootnext->appendChild($song); $song1 = $dom->createElement('creator'); $song->appendChild($song1); $text = $dom->createTextNode('www.musicking.in'); $song1->appendChild($text);  $song1 = $dom->createElement('title'); $song->appendChild($song1); // create text node $text = $dom->createTextNode($tokenized); $song1->appendChild($text);  $tokenized = strtok($tokens); $song1 = $dom->createElement('location'); $song->appendChild($song1); $text = $dom->createTextNode($tokenized); $song1->appendChild($text);   } // save  $dom->save('playlist.xml'); ?>  

playlist.xml

  www.musicking.inDuryodhana's dialouge1/Ntr dialouges/duryodhana's dialouge.mp3www.musicking.inDuryodhana's dialouge2/Ntr dialouges/dvsk_dialogues-10.mp3www.musicking.inDuryodhana's dialouge3/Ntr dialouges/dvsk_dialogues-3.mp3www.musicking.inDuryodhana's dialouge4/Ntr dialouges/dvsk_dialogues-4.mp3www.musicking.inDuryodhana's dialouge5/Ntr dialouges/dvsk_dialogues-5.mp3www.musicking.inDuryodhana's dialouge6/Ntr dialouges/dvsk_dialogues-6.mp3www.musicking.inDuryodhana's dialouge7/Ntr dialouges/dvsk_dialogues-7.mp3www.musicking.inDuryodhana's dialouge8/Ntr dialouges/dvsk_dialogues-8.mp3www.musicking.inDuryodhana's dialouge9/Ntr dialouges/dvsk_dialogues-9.mp3www.musicking.inDuryodhana's dialouge10/Ntr dialouges/dvsk_dialogues-11.mp3www.musicking.inDuryodhana's dialouge11/Ntr dialouges/karna's dialouge.mp3 
  • 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. 2026-05-11T11:34:42+00:00Added an answer on May 11, 2026 at 11:34 am

    Alekc has it right.

    Your form code is this:

    <form method='post' action='/player.php' target='_blank'>  

    You should change the target to something like player. This change will still cause the player to open in a new window, but that window will be uniquely named.

    <form method='post' action='/player.php' target='player'>  

    Then, when a user clicks on ‘Play Selected,’ instead of opening another window, it will load into the old player.

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

Sidebar

Ask A Question

Stats

  • Questions 76k
  • Answers 76k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You can try jquery UI accordion. It has a lot… May 11, 2026 at 3:15 pm
  • added an answer Have you considered using Git? You can host open source… May 11, 2026 at 3:15 pm
  • added an answer Depends on the transaction isolation level (http://en.wikipedia.org/wiki/Isolation_(database_systems)) you're using, but… May 11, 2026 at 3:15 pm

Related Questions

Below is the code for my player which will automatically generate a playlist.xml file
Our website uses Perl to provide a simple mechanism for our HR people to
Ok, this may sound a little weird, but what I need to do is
So I have a controller set up as follows: using NonStockSystem.Models; namespace NonStockSystem.Controllers {

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.