I can use this code upload files when register_globals on,
copy($myfilename,"./my_dir/$newfilename);
But when register_globals off, it doesnt work anymore,how should I fix that.