Home

Follow Skinkers.

Recieve all the updates from Skinkers via email:

 

PHP

2

Flex File upload with PHP issue : uploadCompleteData has empty data

June 15th, 2010 | AS3, Flex, PHP | Matt Bryson

We got stuck on a strange issue recently when trying to upload a file to a server using the Flex FileReference class. The file data was sent to a PHP script that processed the file, and then returned some information about the file as a response. What we found was that it worked fine on a PC, but on a MAC when Flex received the response in the uploadCompleteData handler the returned data was empty! Turns out extra white space after the php tags in a php include caused the issue.

Read the rest of this entry »