that's strange.
Basically, that takes the get variables from the url then passes them on to the src for the embedded wmv object.
the SRC becomes:
http://www.conversysinternational.co...p?channel=test
(that's the absolute url, though it's relative in the source code)
But if you load that, it forwards you to a page that simply says:
"Ram Sharan Khakurel Ram Sharan Khakurel" which (see below) appears to be the name of the author of the page.
Basically, that's just a way to stop people from downloading and it seems to work well.
Without looking at it further, I can't tell you exactly what's going on.
As for $_GET variables, it's quite easy to use them, but this specific case goes way beyond that. It just passes the value $_GET['channel'] to the src which is then another php page which likely chooses a movie based on that $_GET value. Again, nothing complex.
The complex part is everything around that that's stopping you from downloading/viewing/etc.
Note: the source code for the page you are redirected to is strange. Since it's a "test", as it seems by the channel=test, that might explain why it won't load... there is nothing to load.
Here's the source code for that page--
Code:
<asx version = "3.0">
<title>test video clip</title>
<entry>
<ref href = "http://conversysinternational.com.au/mytv/metafile/So32v64-100k.wmv"/>
<title>test video clip</title>
<copyright>Ram Sharan Khakurel</copyright>
<author>Ram Sharan Khakurel</author>
</entry>
</asx>
And now, I just found the video... it's in that source:
http://conversysinternational.com.au...32v64-100k.wmv
Apparently, wm player looks for the <ref href=""> and goes by that.
Anyway, that's your video.
Likely, it just stores the url for that video in a database, and then relates that to the code "test", where the code "something" might be fklajklsd.wmv, etc.
It's just a way to keep the real file a few levels down so people can't easily download it.
Bookmarks