Help with PHP and frames

liunx

Guest
I want to add backround music to a site I am developing, in such a way that it continues when the visitor moves to a new page. Currently the music stops and restarts when the visitor goes to a new page. The site is programmed in PHP and music comes out of an embeded Flash file. You can visit it a <!-- m --><a class="postlink" href="http://www.relaxpools.com">http://www.relaxpools.com</a><!-- m -->
transmothra suggested using frames, one would stay open all of the time and the other would change, make the one zero width and height. It seems like a good idea, but I'm running into the following problem:
If I use frames I lose the query string. I read the QS through PHP to update the page when the user navigates to a new page using the menu bar. For example: <!-- m --><a class="postlink" href="http://www.relaxpools.com/template1.php?PageID=0&Lang=EN">http://www.relaxpools.com/template1.php ... =0&Lang=EN</a><!-- m --> is interpreted by PHP as follows: PageID=0 means bring the home page and Lang=EN means bring it in english. Therefore if I loose the QS, I loose my navigation system!
I don't know of any way to read the QS using PHP after it has been sent using <a href=http://www.htmlforums.com/archive/index.php/"http://www.relaxpools.com/template1.php?PageID=0&Lang=EN" target="mainFrame">

Any ideas?you just have the php page in the frame..
theres still a query string, its just not visible in the top address barThanks n8thegreat, that helped a great deal. I was having trouble testing locally but when I uploaded it it worked just fine. Do you have any idea why that is? I use Apache server on Windows XP and Dreamweaver to develop and test using PHP.Ok, I couldn't test properly because of bad configuration in DW. n8thegreat thanks again.
 
Back
Top