rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Dan on January 08, 2005, 01:04:59 PM
-
How do I change the amount of files one can upload at one time? Right now the default setting will allow someone to upload 10 files in the upload area.
What I am wanting to do is only allow a person to upload 1 file at a time. So is there a way to change the script, Or is there a script I can use if so what is the script code and or what line do I change in the program itself to make this possible if indeed it can be done.
Thanks for your time.
-
edit the template
replace the line %upload-files%
with <input name=fileupload1 size=70 type=file><br>
-
Thank You
-
it works
(http://img195.exs.cx/img195/6493/upload5nc.th.gif) (http://img195.exs.cx/my.php?loc=img195&image=upload5nc.gif&bgc=3399CC&fgc=FFFFEE&bor=FFDD66)
-
if you copy the same line 5 times it will show 5 upload fields. is there an easier way to do that?
(http://img184.exs.cx/img184/5434/5uploads5ki.th.gif) (http://img184.exs.cx/my.php?loc=img184&image=5uploads5ki.gif&bgc=3399CC&fgc=FFFFEE&bor=FFDD66)
-
For the upload to work, you must change the fileupload(x) with the corresponding number so that HFS could recognize which files are being uploaded. :)
-
changed and tested just fine for each upload button
thanx mr.anon
-
edit the template
replace the line %upload-files%
with <input name=fileupload1 size=70 type=file><br>
do you have to delete the next part? [upload-file]
<input name=fileupload%idx% size=70 type=file><br>
-
no, but it becomes useless
-
I would like to do this exact thing and also restrict to upload only files of type .bcproj .mxc .jpg .jpeg
How would I do that?