plasmafish
New member
I'm looking at building a simple PHP/mySQL data passing system integrated through Flash. I have tried armorbots score system and it worked perfectly for what I needed it for but their service is inconsistent and I am at the point in my web skills where I'm picking up the PHP/mySQL books.
So I am looking at writing my own PHP applet that receives data from a SWF and sends it to a mySQL database. I am looking at writing the Flash portion in Actionscript 2.0 and 3.0, the PHP in PHPv4, and the SQL in v5. The data passing will have a check portion on the PHP applet that will validate the data before being accepted into the database and the Flash portion will not have any validation. The SWF will not have verification of the variables being passed, it will just send them to the appropriate applet if connected to the internet. The data will be numbers and letters only but support for other characters would be a cool thing to be able to implement in the future. Right now I'm only looking at passing 2 variables like a name and a score, or a name and phone number, I'm going to keep it simple to start.
Even though creating databases is a breeze for me and writing actionscript is a breeze I have never tried to pass the actionscript variables to a PHP applet. I assume once I get into these books this stuff will seem like a breeze but I will have to look further into passing variables to external files in flash in order to accomplish this.
How hard does all of this sound and is there any quick way to send the variables to the PHP applet from the SWF?
So I am looking at writing my own PHP applet that receives data from a SWF and sends it to a mySQL database. I am looking at writing the Flash portion in Actionscript 2.0 and 3.0, the PHP in PHPv4, and the SQL in v5. The data passing will have a check portion on the PHP applet that will validate the data before being accepted into the database and the Flash portion will not have any validation. The SWF will not have verification of the variables being passed, it will just send them to the appropriate applet if connected to the internet. The data will be numbers and letters only but support for other characters would be a cool thing to be able to implement in the future. Right now I'm only looking at passing 2 variables like a name and a score, or a name and phone number, I'm going to keep it simple to start.
Even though creating databases is a breeze for me and writing actionscript is a breeze I have never tried to pass the actionscript variables to a PHP applet. I assume once I get into these books this stuff will seem like a breeze but I will have to look further into passing variables to external files in flash in order to accomplish this.
How hard does all of this sound and is there any quick way to send the variables to the PHP applet from the SWF?