Re: Script Cannot Read File Field

From: Date: Sat, 11 May 2002 04:24:05 +0000
Subject: Re: Script Cannot Read File Field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97066@lists.php.net to get a copy of this message
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 */

« previous php.general (#97066) next »