# Exchanging data between PHP and Flash

**URL:** <https://forum.kirupa.com/t/exchanging-data-between-php-and-flash/250864>\
**Category:** Uncategorized\
**Created:** [February 2, 2008, 12:23pm UTC](https://forum.kirupa.com/t/exchanging-data-between-php-and-flash/250864 "2008-02-02T12:23:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafnews](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@rafnews](https://forum.kirupa.com/u/rafnews)\
**Post date:** [February 2, 2008, 12:23pm UTC](https://forum.kirupa.com/t/exchanging-data-between-php-and-flash/250864/1 "2008-02-02T12:23:45Z")

</div>

Hi,

I’ve read that we can exchange data between PHP and Flash.  
i found several ways how to do it but nothing is written regarding the best solution, or the most secured or the most easy to implement.

```auto

from PHP to Flash :
- using FLASHVARS (from EMBED and OBJECT)
- using SendAndLoad (from LoadVar) and POST (from HTML form)

```

and

```auto

from Flash to PHP:
- using object.send

```

Could you tell me pros and cons about them ?  
is there a better way ?  
thanks a lot,

A.
