Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-18-2003, 02:10 AM   PM User | #1
CalypsoClub
New Coder

 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
CalypsoClub is an unknown quantity at this point
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!
CalypsoClub is offline   Reply With Quote
Old 03-18-2003, 02:50 AM   PM User | #2
x_goose_x
Regular Coder

 
Join Date: Jun 2002
Location: Montreal, Canada
Posts: 644
Thanks: 0
Thanked 0 Times in 0 Posts
x_goose_x is an unknown quantity at this point
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.
x_goose_x is offline   Reply With Quote
Old 03-18-2003, 12:54 PM   PM User | #3
CalypsoClub
New Coder

 
Join Date: Mar 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
CalypsoClub is an unknown quantity at this point
Thanks, I do it with javascript now.
CalypsoClub is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:11 AM.


Advertisement
Log in to turn off these ads.