On Saturday 11 May 2002 05:59, Dr. Shim wrote: > I have a very nicely organized form, with a file field. The script can read > all the fields, exepet for this one file field! I have no idea what is > wrong. Maybe its scope? Well, anyhow, I could really use some help. The > form's "enctype" is set to "multipart/form-data", so that can't be the > problem. The file field is named "image", and in the script - to read the > field - I use "$_FILES['image']". Everything seems fine to me. > > My script is rather large. The HTML was generated by Dreamweaver, so its > large, and messy. The script is below, tell me if I have to include the > HTML in my post too...
Use: print_r($_FILES); to see what it contains. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Law stands mute in the midst of arms. -- Marcus Tullius Cicero */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php