Perhaps consider using an MD5 Sum to see if the files are the same too, to negate duplicate uploads ;)$num=1; $imagename=$imagename. ++$num while -s "$Data/$category/$imagename";
--
Brother Frankus.
¤
In reply to Re: Re: uploading a file with the same name
by frankus
in thread uploading a file with the same name
by katgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |