I'm new to Silverstripe, working mainly Flash AS3 programming and have a little PHP experience. At the moment i try to make my way with frontend completly in Flash, the backend in Silverstripe. I want to make a fileupload for users and worked out the tutorials - now I'm at the point to replace the Blackberry HTML-Frontend with Flashfrontend. The problem now is, that i can't use move_uploaded_file in mysite/code. I tried my Flashscript with a simple moveto-php file that i located in the toplevel of my installation. That works fine. When I call my Class and function like:
I get my information in
from the temporary file uploaded via Flash Filereference. But move_uploade_file does not work. I assume that this has to do with right-settings, i also have read about problems with open_basedir, but that does not bring light to me.
I created a
_ss_enviroment.php define('TEMP_FOLDER', dirname(getcwd())."/tmp");
and a tmp-Folder - because I read a thread about some simular problems where this helped.
Can anyone help?
Im using: local insatllation on a Mac with Mamp, Silverstripe 2.4.3
Is there a special place for Flash/AS3 Posts?
Lot's of greetings and thanks in advance for your help and all the great work on silverstripe.