Uploading with local file system

How & what language is best for uploading files to a server? I want the user to be able to ‘browse’ their local file system to select the file(s) and then press upload them to send them off.

ASP/PHP/CF…all will do, no “best” here…
depends on your host…
input type=file/ search Google on file+upload+script+ the language you want…

i found that php uploading was much easier

…depends, coz you’ll have to move it from the default tmp directory to where you want to keep it, maybe rename…error checking…
at least, you can download ready-to-go scripts for that :wink:

Is there a file size limit?? I am trying to do this with mp3s and it’s not working…

I posted my code on a similar thread.

you can specify a size limit sure, also mime types as well

Yeah…

I used this code in my html:

<input type=“hidden” name=“MAX_FILE_SIZE” value=“5120000”>

But I can still only upload files that are about 2MB in size.

Any help would be cool.

Thanks

That’s because there is also a set file size limit found in the PHP.ini file…

If you are using the PHP.ini file that is, search for it on your server computer or change it through use of script… You should find a line that looks similar to file size limit or uploading_limit and see a 2m beside it. Change that to 8m or any ##m for all I care… Whatever you need good buddy.

In C:\WINDOWS there are two files (php and tmpphp) that look exactly the same. Both of these files have all the settings. In both files I set upload_max_filesize = 10M and it still does not work. Also in these files, I set post_max_size = 10M.

I tried setting these vars in the script but it does not work, what would that look like?

Any ideas, thanks…