Hey Bill,
This is indeed pretty easy to do. We do it for a number of reasons,
from collecting statistical information to finding the most appropriate
server to deliver the video from, which means that our code for doing
this is pretty complicated. Your code can probably be much simpler.
I'm
Your syntax is spot on. It's only lacking one crucial thing. Per default
PHP is sent as text/html so along with the Location header you need to
send the correct content-type header (to build on your example):
header('Content-type: video/mpg');
header('Location: '.$videos[$_GET['video']]);
:[EMAIL PROTECTED] On Behalf Of Andreas
Haugstrup Pedersen
Sent: Tuesday, January 23, 2007 9:10 AM
To: videoblogging@yahoogroups.com
Subject: Re: [videoblogging] Permalinks and download
tracking? How do I do that?
Your syntax is spot on. It's only lacking one crucial thing.
Per default
Haugstrup Pedersen
Sent: Tuesday, January 23, 2007 9:10 AM
To: videoblogging@yahoogroups.com
Subject: Re: [videoblogging] Permalinks and download
tracking? How do I do that?
Your syntax is spot on. It's only lacking one crucial thing.
Per default PHP is sent as text/html so along with the
Location