Hi,
I’m building a back end for a site using AMFPHP, MYSQL etc, which needs fairly standard uploading of files (images), text editing etc functionality.
I’ve currently got uploading working using PHP called via a URLRequest and a standard move_uploaded_file function and also using bytearrays which get written back to the server via an AMFPHP method.
Both work fine. Is there any downside to using the filereference.load() method and writing bytearrays back to jpgs? How are the bytearrays stored by the filereference class memory managed?
I couldn’t manage to figure out how to use move_uploaded_file file within an AMFPHP method, otherwise I’d just do that. Ideally I want to keep everything within my various AMFPHP methods.