in reply to uploading a file with the same name
That works great (although the other suggestions would have worked just as well, but I believe in KISS!) I'll have a look at merlyn's column once my brain has stopped being jelly-like...$num=""; while(-e "$Data/$category/$num$imagename"){ $num++; } $imagename = $num.$imagename;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: uploading a file with the same name
by amphiplex (Monk) on Jul 24, 2002 at 14:25 UTC | |
|
Re: Re: uploading a file with the same name
by shotgunefx (Parson) on Jul 29, 2002 at 08:06 UTC |