Upon reading my reply, I think perhaps I wasn't clear enough.  I am using
users_file, etc.  I am unable to upload a file because $users_file is given
the value of "none".


-----Original Message-----
From: Van Andel, Robert 
Sent: Tuesday, November 12, 2002 3:59 PM
To: Ernest E Vogelsinger
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] File Upload problem 


It was a typo.  Sorry.

-----Original Message-----
From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at]
Sent: Tuesday, November 12, 2002 3:46 PM
To: Van Andel, Robert
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] File Upload problem 


At 00:25 13.11.2002, Van Andel, Robert said:
--------------------[snip]-------------------- 
><FORM action="<? echo $PHP_SELF; ?>" method=post 
>encType=multipart/form-data><INPUT type=hidden value=20000
>name=MAX_FILE_SIZE> 
><INPUT type=file name=users_file><BR><INPUT type=submit value=Upload!>
></FORM><?PHP
> }
>?>
>When I submit the form at the bottom of the script, the $user_file variable
>equals "none".  I am unable to figure out what is going on.  The variable
>$users_file_name lists the file's name, but the $user_file is none and the
>$user_file_size =0. 
> 
>Why is $user_file equal to none?  Any help will be greatly appreciated. 
--------------------[snip]-------------------- 

Try to use the name $users_file and $users_file_size (note the 's' after
user).
Just in case that was no typo in your message...


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



 "The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers." 




 "The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers." 


Reply via email to