FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP variables eg. $_FILES
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP variables eg. $_FILES [message #169419 is a reply to message #169417] Sat, 11 September 2010 17:28 Go to previous messageGo to previous message
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
Member
On Sep 10, 3:30 pm, Tim Streater <timstrea...@waitrose.com> wrote:
> In article
> <b529cd6d-af92-4a18-8192-4132e0955...@y31g2000vbt.googlegroups.com>,
>
>
>
>  MikeB <mpbr...@gmail.com> wrote:
>> On Sep 10, 1:34 pm, Marious Barrier <marious.barr...@gmail.com> wrote:
>>> On 09/10/2010 02:25 PM, MikeB wrote:
>
>>>> On Sep 10, 11:27 am, Marious Barrier<marious.barr...@gmail.com>
>>>> wrote:
>>>> > On 09/10/2010 12:03 PM, MikeB wrote:
>
>>>> >> I'm reading about th $_FILES variable and that it is an associative
>>>> >> array. If I look at the PHP.net site(http://php.net/manual/en/
>>>> >> reserved.variables.files.php) it does not discuss what values can be
>>>> >> in this or what the various keys may mean. More searching finds this
>>>> >> page (http://www.php.net/manual/en/features.file-upload.post-
>>>> >> method.php) that mentions "content from the example, above."
>
>>>> >> Does this mean that the variable (or array) can under other
>>>> >> circumstances have other key/value pairs? Is this a defined thing or
>>>> >> is it open-ended?
>
>>>> >> I find these things very confusing and would appreciate some
>>>> >> clarification.
>
>>>> >> Thanks.
>
>>>> >http://php.net/manual/en/features.file-upload.post-method.php
>
>>>> > Read that one.
>
>>>> Well, yes, that's the one I linked and quoted.
>
>>> Ah you are right, I got confused with the color change in my client.
>>> It is pretty clear, what part in there makes you think that it might
>>> change in the future?
>
>> The text I quoted implies that those elements in the array applies in
>> some way to the example and that it might be different in other
>> instances. Maybe I'm just reading too much into the text.
>
> My reading of it is exactly that - it says it, not just implying it. So
> if the example given had:
>
>     Send this file: <input name="wiggy" type="file" />
>
> you'd be looking at:
>
> $_FILES['wiggy']['name']
>

I see. But the 5 subordinate keys ('name', 'type', 'size', 'tmp-name',
and 'error') are the only keys and they remain the full and entire set
with no other elements being possible?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Session Cache
Next Topic: Job opening at RNT Labs Chandigarh
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 17:37:11 GMT 2024

Total time taken to generate the page: 0.04226 seconds