Re: [PHP-DB] flash/php problem

2006-03-11 Thread Hoz
--- Original Message - From: "Micah Stevens" <[EMAIL PROTECTED]> To: 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

Re: [PHP-DB] flash/php problem

2006-03-11 Thread Micah Stevens
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

Re: [PHP-DB] flash/php problem

2006-03-10 Thread Anthony Lee
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

Re: [PHP-DB] flash/php problem

2006-03-09 Thread Micah Stevens
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 dif

Re: [PHP-DB] flash/php problem

2006-03-09 Thread Micah Stevens
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 p

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Anthony Lee
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

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Anthony Lee
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]: The function for checking the result is in the flash ma

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Anthony Lee
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]: This won't tell you if there has been an error during the update. If you

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Hoz
PROTECTED]> To: 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 sound

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Micah Stevens
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 be

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Anthony Lee
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: i.e. push the variable into flash from the page that contains it. If you on

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Hoz
..." if i 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: Sent: Wednesday, March 08, 2006 4:18 PM Subject: Re: [P

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Micah Stevens
Why not have a play.php which does this: Just a simple redirect. The user wouldn't even notice. -Micah On Wednesday 08 March 2006 6:30 am, Hoz wrote: > Here is a light but usefull Flash mp3 player : > http://jeroenwijering.com/?item=Flash_Single_MP3_Player > (thanks to the author ;)) > > i

[PHP-DB] flash/php problem

2006-03-08 Thread Hoz
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 - Arti

Re: [PHP-DB] Flash integration

2005-07-01 Thread Chris Ramsay
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

[PHP-DB] Flash integration

2005-07-01 Thread Phares Kariuki
Hi, Does any one know how to pass variables from actionscript files. . . Im kinda stuck. Kind Regards. Kaboro Kariuki.

[PHP-DB] Flash/PHP Resources

2003-02-11 Thread Bruce Levick
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

Re: [PHP-DB] Flash, MySQL & PHP

2003-01-30 Thread Jeffrey_N_Dyke
[EMAIL PROTECTED] patico.ca> cc: Subject: [PHP-DB]

[PHP-DB] Flash, MySQL & PHP

2003-01-30 Thread Miles Thompson
I've not worked with Flash, so if anyone has experience I'd appreciate their comments. I understand that Flash presentations are developed on a Windows box, using Flash MX (FMX), I also understand that FMX has a scripting language, so it can be used to create forms, display data, etc. My quest

Re: [PHP-DB] flash

2001-06-28 Thread Jason k Larson
You might also check out libswf. http://www.php.net/manual/en/ref.swf.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] flash

2001-06-24 Thread Andreas D. Landmark
At 24.06.2001 19:40, you wrote: >Sharmad Naik ([EMAIL PROTECTED]) wrote: > > I know that this mail is not to be posted on this list > >So, then why'd you post it? You beat me to it, but to answer the original poster, you COULD have checked the php.net website _before_ posting to the _wrong_ list!

Re: [PHP-DB] flash

2001-06-24 Thread Stephen van Egmond
Sharmad Naik ([EMAIL PROTECTED]) wrote: > I know that this mail is not to be posted on this list So, then why'd you post it? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

[PHP-DB] flash

2001-06-24 Thread Sharmad Naik
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.

[PHP-DB] Flash 4 and PHP/mysql loading variable number of variables

2001-05-16 Thread [EMAIL PROTECTED]
Hi! I am a flash newbie. I am using Flash 4 What I'd need help on is, how can I load a unknown number of variables into a flash movie and use them there? I have done a simple flash/php integration using a flash-text field and LoadVariable and it worked alright, but i have the problem that I dont k

Re: [PHP-DB] Flash+PHP search error

2001-05-14 Thread Szii
;[EMAIL PROTECTED]> Sent: Monday, 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

Re: [PHP-DB] Flash+PHP search error

2001-05-14 Thread Paul Burney
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 > th

[PHP-DB] Flash+PHP search error

2001-05-14 Thread Brian Tegtmeier
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 F