giving a defined variable an option
Posted: Thu Jan 15, 2004 12:15 pm
having this (an upload directory):
and this:
i would like to provide an option of uploading to one of a few folders...
could someone show me how a "select" form field could be written to change this variable...?
am i asking the right question?
,
thanks, glennn
Code: Select all
define ("BASEFOLDER", $baseFolder."uploadFiles/");Code: Select all
$target = BASEFOLDER . $RCFILESї'file2upl']ї'name']ї$i];i would like to provide an option of uploading to one of a few folders...
could someone show me how a "select" form field could be written to change this variable...?
am i asking the right question?
thanks, glennn