# Sending complete objects to php

**URL:** <https://forum.kirupa.com/t/sending-complete-objects-to-php/215200>\
**Category:** flash\
**Created:** [February 5, 2007, 12:02pm UTC](https://forum.kirupa.com/t/sending-complete-objects-to-php/215200 "2007-02-05T12:02:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david142](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@david142](https://forum.kirupa.com/u/david142)\
**Post date:** [February 5, 2007, 12:02pm UTC](https://forum.kirupa.com/t/sending-complete-objects-to-php/215200/1 "2007-02-05T12:02:56Z")

</div>

i have been doing some experimenting with sending variables to php from flash. but i need to extend my sending class so i can send variables, arrays or objects without having to define the vars before i send them. in other words the number of vars i need to send must be dynamic.

so far i made an sidesollution by compressing an array to a string, then send it and then exploding it to an array again when it reaches php. this is really a last resort in my eyes, and i would like to send complete objects that php can read.

does anybody have any suggestions

thanks in advance  
David
