Or rather, 'wouldn't work'.. my negatives are always screwey before 8.. On Thursday 09 March 2006 7:07 am, Micah Stevens wrote: > Actually, I don't see why either method would work: > > 1) Call php, which updates, then calls swf. > > or > > 2) Call swf, which calls php to make update. > > No difference, both ways the job gets done.. What's the AMFPHP deal? I'll > have to take a look at that.. > > -Micah > > On Wednesday 08 March 2006 11:23 pm, Anthony Lee wrote: > > > 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