Re: flash/php problem
| From: | Micah Stevens | Date: | Thu, 09 Mar 2006 15:12:09 +0000 |
| Subject: | Re: flash/php problem | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41424@lists.php.net to get a copy of this message | ||
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