And again, let me warn anyone that using my changes is a risk. It is sloppy, and I have no idea what I am doing It is very likely that this code would not work if you disabled cookies, and while it works perfectly on my windows 2000 server, I have no idea how it will work on other configurations. One last thing. You might prefer to use the username instead of the usernumber if that was the onlything in the file name. In that case just replace the line
if ($ubber[4] ne '') { $user_number = $ubber[4];
with
if ($ubber[0] ne '') { $username = $ubber[0]; }
and the line
$Filename = join '.', $user_number, @yourvar[1];
with
$Filename = join '.', $username, @yourvar[1];
[ July 15, 2001 10:09 AM: Message edited by: James Lewis ]
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.