0 Replies Latest reply on Aug 25, 2010 8:44 AM by One Pixel Ahead

    FileReference.upload() not working in Firefox

    One Pixel Ahead

      Hi,

       

      i have a strange problem - my Flex application uses the FileReference.upload() to upload images to the server. ServerSideScript ist pure PHP.

       

      It is working in IE but not in FF

       

      Any help is really appreciated since i'm running out of ideas...

       

      <?php
      $target_path = "../xml/akten/dokumente/";

       

      $target_path = $target_path . basename( $_FILES['file']['name']);

       

      if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) {
          echo "The file ".  basename( $_FILES['file']['name']).
          " has been uploaded";
      } else{
          echo "There was an error uploading the file, please try again!";
      }

       

      ?>

       

      Greetings from Germany

      Markus