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 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2003
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    redirection (ed2k:// protocol)

    Hi folks,

    I want to open a new browser window that immediatly redirects to an ed2k:// link.

    For those who don't know ed2k is the url format for edonkey2000 links.

    Example : ed2k://|file|filename.zip|432423|f34f45gf56g2gf23f31g13g5

    First number is filesize, second md4 filehash


    But when I do the standard procedure via Header

    ("Location:",$url); exit();

    it gives me an error, that the site cannot be displayed.

    Is there any special handling needed for those links?

    Thanks!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what about client side?

    <META HTTP-EQUIV=Refresh CONTENT="10; URL=ed2k://asdasd">

    or

    location.replace("ed2k://")

    I don't use edonkey, so I can't test it, but give it a shot.

  • #3
    New Coder
    Join Date
    Mar 2003
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, I do it with javascript now.


  •  

    Posting Permissions

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