Re: flash/php problem
| From: | Anthony Lee | Date: | Thu, 09 Mar 2006 07:23:36 +0000 |
| Subject: | Re: flash/php problem | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41421@lists.php.net to get a copy of this message | ||
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