Jump to content

Recommended Posts

Hello All, Just a query. I have Fla and php file. I'm trying to connect flash to a mysql database through PHP to create a login system for Flash. I've setup the server and database, and i'm trying to write the flash/php to connect them. My question is in the AS3 file were do you specify the location of the phpconnection file and the exact syntax for requesting access to the php file? Sorry if it sounds like a dumb question but im new to this.

Thanks

Link to comment
https://forums.phpfreaks.com/topic/275474-connecting-to-databse-via-flash/
Share on other sites

You don't connect to the database through flash, but you can through PHP.  What is going to happen, is flash is going to request data from a script, that script returns the data in some form (text,xml,html), and then you let AS3 sort and display that data how you desire.

Take a look at http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.