Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #31  
Old June 25th, 2003, 01:38 AM
Cdprowl Cdprowl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 Cdprowl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb Been there

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

Reply With Quote
  #32  
Old June 26th, 2003, 03:32 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
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

Reply With Quote
  #33  
Old June 26th, 2003, 12:16 PM
mbritton72 mbritton72 is offline
Shrill Digital God
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Raleigh, NC
Posts: 64 mbritton72 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m
Reputation Power: 8
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.

Reply With Quote
  #34  
Old June 26th, 2003, 12:44 PM
Cdprowl Cdprowl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 Cdprowl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > PHP Flash Remoting


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT