FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP, MySQL and Flash





avk
How do I connect my Flash actionScript with MySQL and yea
How do i connect my FLash movie with PHP
Chris Tiaens
I found a tutorial on www.zend.com that seems pretty professional to me. It says it's intended for either advanced Flash developers who are beginners in PHP or Advanced PHP developers who are beginners in Flash, basic knowledge of PHP, MySQL and Flash (Flash 5 Actionscript) is assumed.

You can find it on: http://www.zend.com/zend/tut/tut-hill.php

To give you an ides of its content I've included the table of contents:

- Intended Audience
- Overview
- Let's Get Started - setting up the mySQL database and relevant SQL commands
- Useful mySQL commands
- Typical column types
- Setting up the PHP
- User Registration
- PHP used for Registration section
- Flash Actionscript Used for Registration
- User Login
- PHP used for Login (Login.php)
- Flash Actionscript used for Login
- Loading the Variables
- PHP used for Loading Variables (Load.php)
- Flash Actionscript used to Load the Variables into the Movie
- Updating the Variables in the Database
- The PHP used in Updating the x and y positions along with the Comment (Update.php)
- The Actionscript used for updating the variables
- Additional Concerns
- Conclusion
- About the Author

I hope this is what you were looking for;-), good luck with it.
RadioPunker
Well what I use for my flash games to be able to have a submit score, is set in flash the score as a dynamic text with the variable score. Then on a button I set the code to:

loadVariablesNum ("page.php", 0, "POST");

page.php - The page with the code in it
0 - Not quite sure what this does, just always use 0
POST - POST or GET method

Then on the page.php you can use the variable $score and it will have that value.
avk
Hey wat do u enter in the page.php anything IMPORTANT!!!

RadioPunker wrote:
Well what I use for my flash games to be able to have a submit score, is set in flash the score as a dynamic text with the variable score. Then on a button I set the code to:

loadVariablesNum ("page.php", 0, "POST");

page.php - The page with the code in it
0 - Not quite sure what this does, just always use 0
POST - POST or GET method

Then on the page.php you can use the variable $score and it will have that value.
Grimboy
I would assume that you write code to verify the integrety of the data in the $_POST superglobal and then shove it in a database.
ben8coast
This is a good site

http://www.sephiroth.it/tutorials/flashPHP/news/

this link links to the first of a couple of different tutorials.

Its pretty useful if you are just wanting to start with the basics.
avk
-----fine I got my answer------
U can close this topic
Related topics
PHP, MySQL...
ASP +PHP+MySQL Tutorials
what is your php mysql apache installer package
Need some php/mysql dlls
The Basics (php, mysql etc)
What is useful way in this php+mysql problem?
PHP/Mysql - beginner!
A very good PHP MySQL Tutorial
Setup php,mysql and others...
php, mysql and iis5
 EASY 40 frih$ IF YOU KNOW PHP+MySQL 
I am trying to build a contact form using php and flash
Php Mysql security testing
Project to join - php,mysql??
Link PHP/Mysql with Outlook Express
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.