0 Replies Latest reply on Jun 1, 2007 12:03 PM by eyoshiura

    Error Upload Image

      Hi, i have a problem with upload image.

      btsalvar.onRelease = function(Void):Void {
      status("Salvando imagem...");


      $dir = "./imagens/";
      $dir2 = "/imagens/";
      $file = $_FILES["Filedata"];
      $foto = $_FILES['Filedata']['name'];
      $dirpath = getcwd() . $dir2;
      $original = imagecreatefromjpeg($dirpath . $foto);
      $x = imagesx($original);
      $y = imagesy($original);
      $newX = 300;
      $newY = 600;
      $ratio = $newX / $x;
      $newY = $y * $ratio;
      } else {
      $ratio = $newY / $y;
      $newX = $x * $ratio;
      $img_temp = imagecreatetruecolor($newX,$newY);
      imagecopyresampled($img_temp, $original, 0, 0, 0, 0, $newX, $newY, $x, $y);
      imagejpeg($img_temp, $dirpath . "g_".$foto, 70);

      The Internet Explorer, is some second asset, until q it stops, generating those report of errors of the IE, with following message...“the IEXPLORE.EXE found a problem and needs to be closed”… If to clicar in “seeing the data contained in this relatorio of errors”…
      * It has the signature of the error:
      AppName: iexplore.exe
      AppVer: 6.0.2900.2180
      ModName: flash9b.ocx
      Offset: 0019c923

      This ero no occurred to 15 or 20 days,

      where these days it started to occur in some schemes ,

      I noticed q them scheme q no occurs the error, they are with SP1.

      OBS1: Schemes that no this functioning upload, had not been installed none to softwarem or modified any configuration.
      OBS2: This error so happens in the IE if to use the FireFox, makes upload in the good one.

      To say me as to start my search, to solve this problem?

      thank you.