# Tracing what is found in PHP

**URL:** https://forum.kirupa.com/t/tracing-what-is-found-in-php/283632
**Category:** flash
**Created:** [March 9, 2009, 1:10pm UTC](https://forum.kirupa.com/t/tracing-what-is-found-in-php/283632 "2009-03-09T13:10:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Garfty](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Garfty](https://forum.kirupa.com/u/Garfty)
#### Post date: [March 9, 2009, 1:10pm UTC](https://forum.kirupa.com/t/tracing-what-is-found-in-php/283632/1 "2009-03-09T13:10:01Z")

</div>

Hi all,

im looking at doing an upload image piece for a site, however i need to return something from the PHP, the file name and size, reason being is that this is then being passed through to a javascript function.

I have found the following example:

[http://labs.findsubstance.com/2008/04/03/as3-upload-encode-images/](http://labs.findsubstance.com/2008/04/03/as3-upload-encode-images/)

but am wondering how you would be able to either return the php echo’s or the variable names in AS3

Any help would be greatly appreciated, im off to search the livedocs :stare:
