# FileReference - Return / Function Call From PHP

**URL:** <https://forum.kirupa.com/t/filereference-return-function-call-from-php/238328>\
**Category:** flash\
**Created:** [September 10, 2007, 3:52am UTC](https://forum.kirupa.com/t/filereference-return-function-call-from-php/238328 "2007-09-10T03:52:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineteen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nineteen/32/2679_2.png) [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Post date:** [September 10, 2007, 3:52am UTC](https://forum.kirupa.com/t/filereference-return-function-call-from-php/238328/1 "2007-09-10T03:52:28Z")

</div>

Hey!

Using the FileReference Object in AS 2.0 I am successfully sending images / saving them onto a server with PHP (after PHP has done error checking etc)

I was wondering:  
Is there a way to have PHP send back a success / fail / error message back to Flash after it has carried out its error checking?

And…

Is there a way to have PHP call a function in Flash after a success / fail / error message?

Cheers!
