Upload one file only...

Paulo de Tarso F. M.'s picture

Hi!

First, sorry if you find many errors, I don't speak english very well, but I'll try, ok? Sticking out tongue

Look, I need upload a single file, just one. If the user uploads, I need to block the "input file" to prevent the choose of another file.

My question is: can I do something like this? I've looked the codes, but I didn't find where I could modify...

I'm using the "Simple demo", and you can see at this link below:

http://exemplos.inconinformatica.com.br/SWFUpload/index.htm

The "upload.php" wasn't changed, so, the upload won't finish...

Thanks!

Daem0nX's picture

Re

Try changing the following lines in the source for Simple Demo. Then retest your setup.

FROM
file_upload_limit : 100,
file_queue_limit : 0,

TO
file_upload_limit : 1,
file_queue_limit : 1,