buildrebuild
12-27-2006, 05:50 PM
Hi,
I have this link which passes a PHP variable of a track I want to play. There are several of these links in the page all with different variables being passed to an iframe.
<a href="mp3Player.php?track=http://www.buildrebuild.com/dirtyDeeds2.mp3" target="hydroponicPlayer">[PLAY]</a>
I know in javascript you can force the iframe to be opened with the parent frame even if someone tries to copy and paste the iframe URL into their location bar.
The javascript code is here...
http://hyperdisc.unitec.ac.nz/materials/javascript/top10/
Can PHP do the same thing and if so, does anyone know the code.
Thx
CB
I have this link which passes a PHP variable of a track I want to play. There are several of these links in the page all with different variables being passed to an iframe.
<a href="mp3Player.php?track=http://www.buildrebuild.com/dirtyDeeds2.mp3" target="hydroponicPlayer">[PLAY]</a>
I know in javascript you can force the iframe to be opened with the parent frame even if someone tries to copy and paste the iframe URL into their location bar.
The javascript code is here...
http://hyperdisc.unitec.ac.nz/materials/javascript/top10/
Can PHP do the same thing and if so, does anyone know the code.
Thx
CB