Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2006
    Posts
    112
    Thanks
    0
    Thanked 0 Times in 0 Posts

    php iframe security

    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/materi...ascript/top10/

    Can PHP do the same thing and if so, does anyone know the code.

    Thx
    CB

  • #2
    New Coder
    Join Date
    Jul 2005
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, you should try to map url with some code(i mean your defined url) that will in every request changed with this modification user even when get the url he wouldn't know the real path to song.
    If you can not find a decision, maybe you have to try to change a problem

    http://www.gunman.co.nr
    http://bglinux.org


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •