Re: Unable to get file name of uploaded file

  •  06-23-2011, 9:55 AM

    Re: Unable to get file name of uploaded file

    My problem isn't so much getting a filename, it is getting the object that will give me the filename.  I changed my code to match the example but am still getting the same result.  Here is the new code:
     
       $fileguidlist=@$_POST["current_uploader"];
       if($fileguidlist)
       {
          echo $fileguidlist;
          $guidlist=split("/",$fileguidlist);
          foreach($guidlist as $fileguid)
        {
         $mvcfile=$uploader->GetUploadedFile($fileguid);
         if($mvcfile)
         {
    // Never gets here
          }
       }
    }
     
    I'm wondering if $uploader is losing the uploaded files after the post although earlier I tried making it a session variable and that didn't work either.
View Complete Thread