|
Posted by dyer85 on 11/26/06 09:08
I know the problem's solved, but I thought I'd share some info on what
became a serious headache for me. I set the MAX_FILE_SIZE hidden input
variable in the HTML form, and didn't realize the limit was too small
for several of the expected files for upload. For some reason, I wasn't
making the connection as to why certain files weren't making it into
the $_FILES hash. Lol! Maybe it's just me.
If you don't bother setting this, then php.ini will handle the limits.
On Nov 25, 7:27 am, bill <nob...@spamcop.net> wrote:
> Michael Fesser wrote:
> > .oO(bill)
>
> >> Actually the file uploads fine, the $_FILES array gets loaded and
> >> will display the values in the script that lives above the
> >> webpage code. The $_FILES array returns null values when I have
> >> a section of php in the body of the page.
> >> here is some of my code:---------------------
> >> [...]
>
> > The code works here (PHP 5.2), except for
>
> >> <?
>
> > which should be <?php.
>
> > MichaThanks Michael;
>
> It turned out that I made a little error midway down the code.
> While testing to see if the $_FILES array exists, I was setting
> it to null.
>
> Which explains a lot of problems.
>
> Thanks.
>
> bill
[Back to original message]
|