javascript:// - links

Post your Click counter digestion problems here
Post Reply
markus

javascript:// - links

Post by markus »

Hi there.
I have some problems with javascript:// links who finally point to Real-Media files (.rm).
If I click on the counter-link i get redirected correctly but the click isn't counted. With normal .rm - links it's working perfectly.
What could be the problem there?

thanks Markus
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Not sure, can you give a sample link and URL where I can test it?

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
markus

Post by markus »

http://people.ee.ethz.ch/markussc/start ... ntents.htm

those links work: 1. Sendung, 2. Sendung... and also the text-link "Meteo"
those with the green buttons don't (try the "Meteo", there is just a window.location = ... java-function behind.

Thanks
markus

Post by markus »

and what i just see: rtsp://.... - links are counted but aren't redirected correctly so that for example RealPlayer doesn't start playing. With links in the http:// - protocol it works.. strange!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try using this click.php if it helps:
http://www.phpjunkyard.com/extras/ccoun ... _click.zip
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
markus

Post by markus »

The same with this click.php ! Doesn's work! Not even if i write window.location="http://www.google.com" for example. It's not the problem of the RealFile itself!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Are you using the click.,php?id=XX links or direct links?

viewtopic.php?t=74
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
markus

Post by markus »

sure i use the ...click.php?id=XX links. Actually everything is working except those id's who link to a javascript function where is a "redirection" to another page or file with the document.location = ... command. And what is not working there is that the count is not updated.

(sorry for my english... living in switzerland..)
markus

Post by markus »

i made some thinking error i realize...

no there's just this question left:

if i click on a link on my website there is a onClick(...) function who opens the file i want. as href i have the ...click.php?id=xx link. what do i have to insert for this id in the admin panel so nothing really happens except to change the count (because the redirection is already done via onClick()) ?

Thanks a lot and sorry for the mess i made..
markus

Post by markus »

just found a way to do this...
thanks anyway for this great script! i already rated it as excellent.. :)

regards markus
Post Reply