Script URL: PHP Click Counter 1.2
Version of script:PHP Click Counter 1.2
Hosting company: ?
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello, i don't know much about php but this thing works fine, but i'm using it to count downloads of mp3 files, but whe i click the link it start windows media player instead of asking me to save... is there a way to change this or better to have play in one link and other to ask you where to save the file. Thanks
Save target instead of streaming
You can try replacing this code in click.php to something like
Code: Select all
Header('Location: '.$url);
Code: Select all
?>
<html>
<head>
<meta http-equiv="refresh" content="15;url=<?php echo $url; ?>">
<title>Redirecting...</title>
</head>
<body bgcolor="#FFFFFF">
<p> </p>
<p>Redirecting, <a href="<?php echo $url; ?>">click here</a> if the browser doesn't redirect you shortly.</p>
</body>
</html>
<?php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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