Error when linking to a movie

Post your Click counter digestion problems here
Post Reply
Guest

Error when linking to a movie

Post by Guest »

Script URL: http://www.math.leidenuniv.nl/~jnoort/click/
Version of script: 1.1
Version of PHP: PHP Version 4.3.4
Hosting company: 1http://www.math.leidenuniv.nl/ (Not a company)
Have you searched for your problem: Yes, on the main website
If so, what terms did you try:

Write your message below:

Hey... I have a 'videos' section on my website, and when I link to movies, it work fine in IE, but Firefox tries to open the wmv file as if it were a *.txt file, displaying characters, and then it crashes... :(. Can this be fixed somehow?

Thanks!

Joël.

(My website is here)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

This must be a problem with Firefox accepting HTTP headers ... or something :?

Try with this file and see if it works (haven't tested it):
http://www.phpjunkyard.com/extras/ccoun ... direct.zip

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Francisco6x
Posts: 2
Joined: Fri Dec 15, 2006 6:21 pm

Post by Francisco6x »

Hi Klemen

This HTML redirection it work fine with *.wmv file.
But... it is possible to do this with PHP Header("Location: $url");?

Thank You
Francisco
Lojistas.net ( www.lojistas.net ) & ComVir.org ( www.comvir.org ).
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

No sure, would probably have to print out some extra headers, like
header('Content-type: video/x-ms-wmv');

Could require some else as well, for example fore download etc.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Francisco6x
Posts: 2
Joined: Fri Dec 15, 2006 6:21 pm

Post by Francisco6x »

Thank You Klemen
Please, what it is core.24480 file in click counter folder?
Francisco
Lojistas.net ( www.lojistas.net ) & ComVir.org ( www.comvir.org ).
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

There is no file named core.24480 in CCount Zip file nor is any file with such name created by CCount.

Not sure where that came from, but it's definitely not from CCount. Just in case you might want to check your computer with some anti-sypware and anti-virus software.

If the file is only on your SERVER but not on your computer you can ask your host what it is.

Regards,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply