# Guidance with php

**URL:** <https://forum.kirupa.com/t/guidance-with-php/223314>\
**Category:** flash\
**Created:** [April 21, 2007, 5:08am UTC](https://forum.kirupa.com/t/guidance-with-php/223314 "2007-04-21T05:08:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iceblueflame](https://avatars.discourse-cdn.com/v4/letter/i/bbe5ce/32.png) [@iceblueflame](https://forum.kirupa.com/u/iceblueflame)\
**Post date:** [April 21, 2007, 5:08am UTC](https://forum.kirupa.com/t/guidance-with-php/223314/1 "2007-04-21T05:08:42Z")

</div>

Hi…  
I am making an application wherein i will need to send the properties of shapes to a text file. That is, its x, y, xscale, yscale, rotation etc. Now the thing is, there could be any number of such shapes. And then, i also need to retrieve those values to redraw them onto the stage.

So how do i go about it? i mean do i create a new loadVars() instance for each shape and send it to the php file? Will that not create a separate text file for each shape??  
And how do i get those variables back into the swf? Do i create just one loadVars then or do i create a new loadVars for each shape? How will i know how many to create if there is a separate text file for each shape??

I’m very new to php so i have only a theoretical understanding of how it works. I only need to do the AS part of it.
