images

From: Date: Thu, 17 Oct 2002 14:48:14 +0000
Subject: images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120335@lists.php.net to get a copy of this message
Hello all, I am a php newbie. I am trying to create a page that will allow users to uload images. The image url will be saved in a mysql db. this is about as far as I have the form code <form method=post name=upform action="c:\junk" enctype="multipart/form-data"> <input type=file name=uploadfile> <p> <input type=button name="Submit" value="Submit" > </form> How do I tell it where to "submit" the files? How in php can I rename the file (so that two users don't try to upload pictures with the same name) and capture the path so that I can insert it into a db(I know the db part, just now the rename part)? Thanks, Eddie

« previous php.general (#120335) next »