On Thursday 02 January 2003 07:25, [EMAIL PROTECTED] wrote: > 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.
RTFM section on "Handling file uploads", in your code print_r($_FILES). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Plumber mistook routing panel for decorative wall fixture */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php