Re: Using $_FILES as conditional along with $_POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 21, 2015 at 7:18 PM, Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:

> Hello all:
> Thanks for just being here....
>
> I had a very vexing problem and in composing the text of the question
> I hit on the answer to the problem an the solution.
>
> It involves the html form attribute enctype="multipart/form-data"
> used for uploading files to the server, and the $_FILES superglobal.
>
> It appears that php creates the $_FILES global when it sees this
> enctype header in a post request, whether or not there are files
> to be uploaded.
>
> JK
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Are you asking why it is doing it?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux