My brain is starting to fizz. Please help, oh lovely fellow monks!#$imagename is name of file $num=0; while(-e "$Data/$category/$imagename"){ $num++; $imagename=$imagename$num; }
In reply to uploading a file with the same name by katgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |