i have the following code (just testing at the minute)

   $link = "sig2dat:///|File:Phil Collins - Testify_ALBW(nabber.net).mp3|Length:68870303 Bytes,67256KB|UUHash:=JvjoFLIF/fW95GhWUiHz0b5khMQ=|";

header("Location: $link");

now when i run the file, it doesnt do anything, but if i change $link to http://www.google.co.uk it works.

so can the header function actually handle links that begin with sig2dat://

thanks in advance

    you could try using

    echo "<html>\r\n<head>\r\n"
    echo "<meta http-equiv=\"refresh\" content=\"0;url=$link\" />\r\n"
    echo "</head>\r\n<body />\r\n</html>\r\n"
    

      i dont have the foggiest what a "sig2dat" file is, but when i put that link in my browser it doesnt do anything either. what is it?

        Iv'e never heard of the "sig2dat" protocol.

        Try a HTTP address, a HTTPS address or a FILE address and it will work.

        so can the header function actually handle links that begin with sig2dat://

        Possibly, if that protocol ever existed.

        I had a browse on the net, and found out that sig2dat is a tool for using signatures (hashes) to share exact copies of a file with Morpheus 1.3.3, Kazaa, Grokster or iMesh.

        It's not a valid internet protocol.

          Write a Reply...