in reply to YaBB mod patch
Any suggestions on the best method to make this 1-attachment process into multiple attachments?
The best way is probably to refactor all of the (broken) custom form-parsing code to use a secure, working parser such as that in CGI or CGI::Simple. Honestly, I'm not sure this code is worth it. It has problems.
The "easiest" way to do this is probably to loop over all of the potential hash keys in %FORM you expect to contain uploaded files, setting $FORM{file} to each in turn, and calling this piece of code as a subroutine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: YaBB mod patch
by Anonymous Monk on Feb 11, 2006 at 22:39 UTC | |
by stonecolddevin (Parson) on Feb 12, 2006 at 01:28 UTC | |
|
Re^2: YaBB mod patch
by DrHyde (Prior) on Feb 13, 2006 at 10:00 UTC |