Tricky or not ? upload & rename, store image-filenames in database
[email protected] ("helmut ott")
| Newsgroups | php.general |
|---|---|
| Message-ID | <012401bfbf3d$48573bd0$09bf06d5@pentium> |
Tricky or not ? (I use php3, unix, apache, mysql) Can anybody give advice how can this can be done? I want to upload images together with other data of a record and store the data together with the related fileNAMES.in 1 mysql-record. 1. First the data part of the record is entered (form1=data) and stored. 2. After the dataform was submitted from this dataform a image-upload form (form2=imagedata) should be called . 3. The imagefiles shall be browsed on the local filesystem (using <input type=file ....> for each image-file 4. BUT then the file shall be stored renamed to a filename consisting of the ID of the previously entered data-record plus a sequential image-number). Thanks for pointing a way or hints about resembling samples Helmut Ott