hi m using the phpuploader but i want the functionlity that the user only upload the single file at a time,I tried all the configuration to restrict the user only upload a single file. but is not working
here is code below
$uploader->InsertText="Upload File (Max 10M)";
$uploader->MaxSizeKB=1024000;
$uploader->AllowedFileExtensions="jpeg,jpg,gif,png,zip";
$uploader->MaxFilesLimit=1;
//Where'd the files go?
$uploader->SaveDirectory="/uploads";
$uploader->Render();
but every time i uplod the first file it again open the file upload dialog box, i want that whenever user upload first file the upload button will be disable or it will show the alert box say "you cannot upload more the one file "
thankyou in advance