|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#31
|
|||
|
|||
|
Hello,
I am new to this forum, but this subject caught my attention. PHP in flash has been around for a long time now. You can actually develope an entire Forum out of flash and php. What I mean by this is a Flash application forum. Every post, every title, everything made of flash. I say this because some would think just the navigation and what not. I think this has been around since 1998-1999, I found a FriendsofED published book on how to use PHP Database in Flash. It is very amazing on what you can do with PHP and Flash. Anything you can do with HTML and XHTML and PHP coding in HTML or XHTML you can put into flash. Everything that I have done in regular PHP can be done in Flash just the same. If you have never seen a php Flash Forum before here is a great site: URL just click on message boards. I designed a Instant Messaging system, Forum, Ticker, Chat, all using php and Flash. I was bored and I duplicated everything from the AOL software into a flash online application, I had friends list and when they would sign on I would IM them, a e-mail, a chat, a news bullentin. I am sure all of you probably have known about using PHP in Flash but for those of you who didn't know this is for you. Thank you for your time. Refrence: URL URL URL |
|
#32
|
||||
|
||||
|
We experimented with Remoting last week, starting with the phpObject project, and eventually moving over to the more mature AMF solution.
The results were good, but we found that Remoting failed in cases where sessions and cookies are used. To give you an example, in this particular application we are developing, every single connection to the server is authenticated by matching a cookie-stored session ID with one in the database. This is the first thing that happend at the top of every PHP script. The reasons should be obvious. It ensures that the user is logged in and hasn't come from some other devious route (i.e. guessing URL's). The problem arose because when the FLASH application requests an object from the server, the first thing to arrive is the header containing the updated cookie data (new expiry etc). This seemingly confuses FLASH, because the data coming back from the gateway is not a serialised object, but is an http header. We had to abandon our experiments and are now looking to use XML instead - however, I'd be interested if anyone else has experienced the same problems. christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#33
|
|||
|
|||
|
Just curious: why didn't you make the cookie information part of the serialized object that gets returned from AMF-PHP.
Mike
__________________
I'm not impatient, I just have a low tolerance for boredom. |
|
#34
|
|||
|
|||
|
Try two different ways
1. Browser enters login, browser logs in with out cookie and match database regerstration, not very secure but it works. 2. Browser logs in with a non flash all html page server side sends info to database with cookie |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > PHP Flash Remoting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|