On Friday 10 March 2006 6:24 pm, Anthony Lee wrote:
Actually, I don't see why either method would work:
The SWF is in a static HTML page. It requests an mp3, and loads it without
having to refresh. So it needs an mp3 returned, not another SWF.
Updating the DB from the SWF call sounds cool,
-
From: Micah Stevens [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Saturday, March 11, 2006 6:19 PM
Subject: Re: [PHP-DB] flash/php problem
On Friday 10 March 2006 6:24 pm, Anthony Lee wrote:
Actually, I don't see why either method would work:
The SWF is in a static HTML page. It requests
Actually, I don't see why either method would work:
The SWF is in a static HTML page. It requests an mp3, and loads it without
having to refresh. So it needs an mp3 returned, not another SWF.
Updating the DB from the SWF call sounds cool, but serverside wise
requires the
.htaccess updated to
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
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,
Here is a light but usefull Flash mp3 player :
http://jeroenwijering.com/?item=Flash_Single_MP3_Player
(thanks to the author ;))
i wanted it to be dynamic :
in list.php, i list some mp3 songs from a Mysql database.
i want each song to be played in the flash player.
looks like :
Artist #1 -
send the ID var of the selected song to Flash, it could be suitable.
(and the mp3 url won't be displayed in the html source)
- Original Message -
From: Micah Stevens [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Wednesday, March 08, 2006 4:18 PM
Subject: Re: [PHP-DB] flash/php
This question isn't really a PHP-DB thang is it?
Anyway, it sounds like you have a lot of swfs on the page. One for each
song, is
that right? In that case your best bet would be something like what you
already
have:
embed src='play.swf?ID=74...'
i.e. push the variable into flash from the
Just an update to the DB on each swf load is what it seems he wants.
On Wednesday 08 March 2006 7:13 pm, Anthony Lee wrote:
This question isn't really a PHP-DB thang is it?
Anyway, it sounds like you have a lot of swfs on the page. One for each
song, is
that right? In that case your best
Sent: Thursday, March 09, 2006 6:12 AM
Subject: Re: [PHP-DB] flash/php problem
Just an update to the DB on each swf load is what it seems he wants.
On Wednesday 08 March 2006 7:13 pm, Anthony Lee wrote:
This question isn't really a PHP-DB thang is it?
Anyway, it sounds like you have a lot
how can i update my DB through Flash, using PHP.
The easy way...
Flash:
var info:String = YoMama;
var id:Number = 12;
getURL(http://myserver.com/my_db_update_page.php;, _self, GET);
PHP [my_db_update_page.php]:
?php
include_once('db_connection_script.php');
if ($_GET['info'] $_GET['id']){
On second thoughts you probably better off with load variables.
Flash:
var info:String = YoMama;
var id:Number = 12;
loadVariables(http://myserver.com/my_db_update_page.php?id=+id+info=+info+;,
this);
PHP [my_db_update_page.php]:
?php
include_once('db_connection_script.php');
if ($_GET['info']
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
Hi,
Does any one know how to pass variables from actionscript files. . . Im
kinda stuck.
Kind Regards.
Kaboro Kariuki.
Flash can send GET or POST requests...you can pick these up in the background.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bruce Levick - VivamotionWhere can I find some good resources for tutorials
to pass php queries into flash??
Cheers
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]
patico.ca cc:
Subject: [PHP-DB] Flash, MySQL
PHP
I know that this mail is not to be posted on this list
but in case if anyone can pls help,
Can anyone tell what's the name of the package for flash with php
and where to locate it
-Thanks
--
Donot rely on the Operating System which don't have any sources for.
I am currently in the progress of setting up a page for my client located at
http://64.77.185.160/main.html which integrates a PHP search function to
find keywords on a page. The problem I am running into now is when I goto
that main.html page, I get this \n, $header); } } ? message above my
on 5/14/01 2:37 PM, Brian Tegtmeier ([EMAIL PROTECTED]) wrote:
I am currently in the progress of setting up a page for my client located at
http://64.77.185.160/main.html which integrates a PHP search function to
find keywords on a page. The problem I am running into now is when I goto
that
, May 14, 2001 2:37 PM
Subject: [PHP-DB] Flash+PHP search error
I am currently in the progress of setting up a page for my client located
at
http://64.77.185.160/main.html which integrates a PHP search function to
find keywords on a page. The problem I am running into now is when I goto
21 matches
Mail list logo