<?
if(mkdir("/some/dir/here", 0777)) {
copy($filename, "/some/dir/here/$filename");
exit;
} else {
print("Could not initialize directory and copy file!\n");
}
?>
Came up with it sorta on the spot, who knows if it works, wouldn't hurt to try...
::Andrew Heebner::
Lead Webmaster, Evilwalrus.com
andrew@evilwalrus.com