Re: Creating dynamic names for images
| From: | Jason Wong | Date: | Wed, 04 Dec 2002 16:55:19 +0000 |
| Subject: | Re: Creating dynamic names for images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127001@lists.php.net to get a copy of this message | ||
On Thursday 05 December 2002 00:48, Davíð Örn Jóhannsson wrote:
> I have a situation where I allow users to upload images, and I store the
> names of the images in a database and the images I store in a some
> folder on the server, but what I would like to do is to dynamically
> create names for the images and dont ever have to worry about if this
> name exists and with out having to got to the trouble of asking the user
> to change tha name of the file.
>
> So dose some one have a nice litle solution for this problem.
uniqid()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I just remembered something about a TOAD!
*/