Re: flash/php problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux