TStewartFan
Junior Member
190 Posts |
Posted - 01 April 2005 : 14:15:35
|
Is anyone available that can help me with a few things I am trying to figure out? I have spent the past month writing a new mod for our awesome forum code because I wanted to hold off on completing my forum until speedball 3 is released. Perhaps someone out here has been able to do some of the things I have been unable to figure out. 1) I have an option to select the default folder where the uploaded files will be stored. I would like to be able to do a couple of things here: 1) I would like for the Admin to be able to manually type in the New Folder name and click a submit button. Upon submit the script would add the appropriate "/" before the name of the folder and the "\" after the name of the folder. Then an update to the db would be performed for all rows containing a value that would change all to the new value and assign this new value as the default value for that column. (i.e. the column is labeled (M_FOLDER) and has a dbs default value of Music/ when clicking submit the new entered value (i.e. Whatever) would change all existing rows with a new value of Whatever/ and would then change the default value to Whatever/) The second thing I need is within another page which is simply an upload feature. Click the upload button and then when the Admin clicks Okay the file name and extension are stored in a hidden field. The final piece would be to update the sql statement to combine the two fields update M_URL with M_FOLDER + hidden value. Anyone out there that can help out? |
|