Renaming a file uploaded by a form.
| From: | Info@Best-IT | Date: | Wed, 01 Jan 2003 23:25:57 +0000 |
| Subject: | Renaming a file uploaded by a form. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24482@lists.php.net to get a copy of this message | ||
I have a script that uploads form data to a MySQL server then emails the
form data to alert people that an upload occurred.
I am having trouble getting the form to upload my file with the actual
filename. The filename seems to be created by the PHP machine (wild guess)
but it looks like this:
/var/tmp//phptkYxkV
Any ideas on how to get it to look like: filename.doc would be greatly
appreciated.
/Tim