On 2 August 2011 16:11, Richard Quadling <rquadl...@gmail.com> wrote:
> On 2 August 2011 16:04, Donovan Brooke <li...@euca.us> wrote:
>> Hello!,
>>
>> I must not be understanding something as I would expect 'f_file'
>> to show up in the print_r below.:
>>
>> ---form--
>> <form action="index.php" method="post" enctype="multipart/form-data">
>>  <input type="hidden" name="f_ap" value="upload" />
>>  <input type="hidden" name="f_action" value="doit" />
>>  <input type="file"  name="f_file" />
>>  <input type="submit" value="Upload" />
>> </form>
>> ---endform--
>>
>> --index.php--
>> <?php print_r($_POST); ?>
>> --/index.php--
>>
>>
>>
>>
>> The result I get is:
>> ------------
>> Array
>> (
>>    [f_ap] => upload
>>    [f_action] => doit
>> )
>> -----------
>>
>> Can someone enlighten me?
>
> Check out $_FILES for the file upload information.

http://php.net/manual/en/features.file-upload.php

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to