I am using php file uploader on three four pages to upload one file only. Not multiple. And I am using manual start upload.
Now when I upload file it gives me errors like
1)FLM
2)" gulaal06(www.songs.pk).mp3 cannot be uploaded! //gulaal06(www.songs.pk).mp3 is file name// File size (6.73 MB) is too large.
The maximum file size allowed is set to: 2.00 MB."
These are the different errors for different computers means not even same error.
This is the code for file input
$uploader=new PhpUploader();
$uploader->Name="ufile1";
$uploader->MaxSizeKB=100048576;
$uploader->AllowedFileExtensions="*.mp3,*.mp4,*.wma";
$uploader->ManualStartUpload=true;
$uploader->Render();
****Javascript function
function doStart()
{
if(document.getElementById('ufile1'))
{
var uploadobj = document.getElementById('ufile1');
if (uploadobj.getqueuecount() > 0)
{
uploadobj.startupload();
}
}
}
And I have increased "post_max_size" and "upload_max_filesize" for images.
So, will you please let me know where I am doing mistake.
Waiting for replay.
Thank you.