# How do I integrate flash and php

**URL:** https://forum.kirupa.com/t/how-do-i-integrate-flash-and-php/264221
**Category:** programming
**Created:** [June 24, 2008, 6:54am UTC](https://forum.kirupa.com/t/how-do-i-integrate-flash-and-php/264221 "2008-06-24T06:54:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xajin](https://avatars.discourse-cdn.com/v4/letter/x/3d9bf3/32.png) [@xajin](https://forum.kirupa.com/u/xajin)
#### Post date: [June 24, 2008, 6:54am UTC](https://forum.kirupa.com/t/how-do-i-integrate-flash-and-php/264221/1 "2008-06-24T06:54:04Z")

</div>

Can anyone help me integrate my flash game into my php based user authenticaion system.

Basically what I’m trying to do is when you load the game up, it loads a set of variables that are stored in a mySQL database, based on what user you are logged in as. How do I retrieve these variables with flash and equally as important, write new ones?

The game is written in AS2, though I will be expanding into a new AS3 project soon so advice on both is very helpful.

Thanks in advance for any help.
