How would I check if the guid is correct?
Thanks
EDIT - I checked the posted guid with the js task guid and they match. I cannot seem to find the difference between my code and the form-keepingstate.php example. My source code has a lot of dependencies and it is part of a larger web application with many pages and built-in security so posting the full code is probably not a good idea. Here is what it looks like right now:
$fileguidlist=@$_POST["current_uploader"];
if($fileguidlist)
{
//echo $fileguidlist;
$guidlist=split("/",$fileguidlist);
foreach($guidlist as $fileguid)
{
if($uploader)
echo $fileguid;
$mvcfile=$uploader->GetUploadedFile($fileguid);
if($mvcfile)
{
echo "myfile=" . $mvcfile->FileName;
//Rename the uploaded file
rename("files/".$_SESSION['orgid']."/".$mvcfile->FileName,$_SESSION['curTkt']."~".$mvcfile->FileName);
}
}
}
It is still not getting into the if($mvcfile) block
Thanks