Anonymous Gallery

Started on the old forum in June 2008 · view the original in the archive · old links redirect here

5 replies · 601 views · started 18 years ago · 1 min read

2 participants
rukiya Lead · 569 posts #4

no i did delete users name and sex symbol in it but i cannot find the part where it renames a actual photo to the persons name

thats

$nick = getnick_uid($uid);
$filename = $_FILES['filetoupload']['name'];
$ext = getext($filename);
$picname ="$nick.$ext";
$path_thumbs = "./";
if (!file_exists("$upload_dir/$picname"))
{$pic ="$nick(1).$ext";}
if (file_exists("$upload_dir/$pic"))
{$pic ="$nick(2).$ext";}
if (file_exists("$upload_dir/$pic"))
{$pic ="$nick(3).$ext";}
if (file_exists("$upload_dir/$pic"))
{$pic ="$nick(4).$ext";}
if (file_exists("$upload_dir/$pic"))
{$pic ="$nick(5).$ext";}

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close