I
ideadude
Guest
You should give more information about what you are trying to do.
If I was trying to serve "updates" to a Flash client, I would have a PHP script getupdates.php that queried the database and returned any "new" updates. You could then call this script every X minutes or seconds to check for updates.
When you serve an update, check it off in the DB somehow so it doesn't get served again. Or have your Flash client handle dupes.
If you had multiple clients/connections/users, you would have to update your script to take that value in (and possibly add some security to keep users from getting other users updates)... so call getupdates.php?client=1.
Does this help?
If I was trying to serve "updates" to a Flash client, I would have a PHP script getupdates.php that queried the database and returned any "new" updates. You could then call this script every X minutes or seconds to check for updates.
When you serve an update, check it off in the DB somehow so it doesn't get served again. Or have your Flash client handle dupes.
If you had multiple clients/connections/users, you would have to update your script to take that value in (and possibly add some security to keep users from getting other users updates)... so call getupdates.php?client=1.
Does this help?