rejetto forum
May 23, 2012, 10:50:05 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to change the Upload Script?  (Read 4498 times)
0 Members and 2 Guests are viewing this topic.
Dan
Guest
« on: January 08, 2005, 07:04:59 AM »

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.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #1 on: January 09, 2005, 11:13:48 AM »

edit the template
replace the line %upload-files%
with <input name=fileupload1 size=70 type=file><br>
Logged
Anonymous
Guest
« Reply #2 on: January 10, 2005, 02:15:32 AM »

Thank You
Logged
New User
Guest
« Reply #3 on: January 28, 2005, 03:49:49 AM »

it works
Logged
New User
Guest
« Reply #4 on: January 28, 2005, 04:24:42 AM »

if you copy the same line 5 times it will show 5 upload fields.    is there an easier way to do that?
Logged
Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #5 on: January 28, 2005, 01:16:33 PM »

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. Smiley
Logged
rejetto forum
« Reply #5 on: January 28, 2005, 01:16:33 PM »

Do you like this software? Consider even $2
 Logged
New User
Guest
« Reply #6 on: January 28, 2005, 05:45:33 PM »

changed and tested just fine for each upload button
thanx mr.anon
Logged
non-programmer
Occasional poster
*
Offline Offline

Posts: 5


View Profile
« Reply #7 on: February 16, 2005, 12:45:53 AM »

Quote from: "rejetto"
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?
Code:
[upload-file]
<input name=fileupload%idx% size=70 type=file><br>
Logged

http://danasoft.com/vipersig.jpg
The signature image is generated in real-time for each user that views it.
Your IP address and other information are only visible to YOU, not to others.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #8 on: February 16, 2005, 11:27:52 AM »

no, but it becomes useless
Logged
pcs800
Regular poster
**
Offline Offline

Posts: 16


View Profile
re
« Reply #9 on: March 07, 2006, 07:52:22 AM »

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?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 22, 2012, 07:39:05 PM
anything