Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with PHP and frames

Status
Not open for further replies.

GregArtemides

Programmer
May 23, 2003
12
CY
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 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: 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=&quot; target=&quot;mainFrame&quot;>

Any ideas?
 
Why would you lose the query string?

The fact that you don't see it in the browser's URL display does not mean that the string is not passed to the php application which the main_frame is targeted at.

Right-click in the frame and inspect the properties, you'll see the full URL with query string.

If not, then something else is not right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top