PHP: moving form $_FILES to $_GET -
i have 1 old function need edit
dosome($_files['image']);
my quesiton how can use same function in order file form instead of uploading it?
if change to
dosome($_get['image']);
it doesn't sound work...
files uploaded through form end in php's $_files superglobal. can't* change that.
* if modified php's source suppose.
if you're talking passing filename dosome() function, check if function's argument array or not , handle accordingly. (array = $_files, string = not $_files)
Comments
Post a Comment