Edit filename using text from other fields
-
Hi,
My users are uploading files which have filenames in the wrong format. Seems easy enough to edit the uploaded filename by altering the “move_uploaded_file” command in file.php, but I’m not sure how to access the data from the other form fields from within file.php, so that I can create the correct “new” filename.For example:
Name: 123
file uploaded: “filename.jpg”
Correct file saved = “filename-123.jpg”
Can you help?
thanks
Guy
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Edit filename using text from other fields’ is closed to new replies.