0 Replies Latest reply on Sep 22, 2009 5:05 AM by liquid8x

    Upload-problem, Flex/php is missing a .tmp extension

    liquid8x

      Hi all,

       

      I'm not sure if this is actually Flex of PHP-related problem but I'd like to know if Flex might have something to do with this.

       

      When testing a upload Flex application (done by me) in my localhost-environment I receive in php-script's $_FILES['Filedata']['tmp_name'] -variable a value of: "C:\xampp\tmp\php30E.tmp"  (for example) when uploading one image-file.

       

      When testing the same thing in production environment (under a actual domain) I receive this:

      "/tmp/phpcIXIuM"

       

      So it seems to me that the production-version looses the actual filename, for example "php30E.tmp" as it was created on my local environment.

       

      Could this be a Flex-related problem? Should I make some settings in the domain server to give the flex-application a right to upload/send-files etc?

      I have been able to upload files via another php-script on the same server.

       

      Any hints would be very welcome

       

      Thanks.