$HTTP_POST_FILES vs $_FILES

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yang Li Ke

    $HTTP_POST_FILES vs $_FILES

    Hey guys!

    I have heard that it might be better using
    $HTTP_POST_FILE S for php version 4.1 and lower
    and using $_FILES for 4.1 and higher...

    Anyone knows what is the difference really?
    why not simply using $HTTP_POST_FILE S on all ?

    Thanx for your help

    --
    Yang


  • knocte

    #2
    Re: $HTTP_POST_FILE S vs $_FILES

    Yang Li Ke escribió:[color=blue]
    > Hey guys!
    >
    > I have heard that it might be better using
    > $HTTP_POST_FILE S for php version 4.1 and lower
    > and using $_FILES for 4.1 and higher...
    >
    > Anyone knows what is the difference really?
    > why not simply using $HTTP_POST_FILE S on all ?
    >
    > Thanx for your help
    >[/color]

    Because $HTTP_POST_FILE S is deprecated.

    Regards,

    knocte

    Comment

    • Guest's Avatar

      #3
      Re: $HTTP_POST_FILE S vs $_FILES

      "knocte" <knocte@NO-SPAM-PLEASE-hotmail.com> wrote in message
      news:bst5r4$op$ 1@nsnmrro2-gest.nuria.tele fonica-data.net...[color=blue]
      > Yang Li Ke escribió:[color=green]
      > > why not simply using $HTTP_POST_FILE S on all ?
      > >[/color]
      >
      > Because $HTTP_POST_FILE S is deprecated.[/color]

      Correct, but more importantly, because the newer $_FILES, $_SERVER, etc. are
      available in all scopes throughout a script.



      Comment

      Working...