query("update hitcounter set plays = plays+1 where file = {$_GET['file']}");
header("Location: play.swf?file={$_GET['file']}");

Sorry I didn't read this thread thoroughly enough. This looks like a good
solution to me.

You just need to have the swf make the request and return the mp3 to the swf not
a reference to another swf.

query("update hitcounter set plays = plays+1 where file = {$_GET['file']}");
if (!error) header("Location: {$_GET['file']}.mp3");

Tony

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to