开发者

PHP form to log-in to Flash App

开发者 https://www.devze.com 2023-04-12 11:20 出处:网络
Is it possible to log in to a Flash app with a PHP log-in form? I was thinking it could work something like this:

Is it possible to log in to a Flash app with a PHP log-in form? I was thinking it could work something like this:

  1. PHP form creates a new session
  2. connect to the user database, validate.
  3. store the log-in infor开发者_JAVA技巧mation in session variables
  4. load the swf


I think if you store your sessions in the database in an open format like JSON or XML then you can have your SWF app lod that data from the database. The SWF app should also be able to get the cookies from the broswer so you can find the cookie that stores the session name check the database, or file system if you keep it in there and then work magic from there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号