should I write $HTTP_POST_VARS[SubmitEmail]

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WindAndWaves

    should I write $HTTP_POST_VARS[SubmitEmail]

    SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmai l"] or $HTTP_POST_VARS['SubmitEmail']

    It seems that both of them (with or without quotes) work...

    Sorry I am sure this is a very stupid question...

    - Nicolaas


  • Tim Van Wassenhove

    #2
    Re: should I write $HTTP_POST_VARS[SubmitEmail]

    On 2005-01-29, WindAndWaves <access@ngaru.c om> wrote:[color=blue]
    > SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmai l"] or $HTTP_POST_VARS['SubmitEmail'][/color]

    Nowadays, you should write $_POST['SubmitEmail']

    [color=blue]
    > It seems that both of them (with or without quotes) work...[/color]

    rtfm: http://be2.php.net/manual/en/language.types.array.php

    --
    Met vriendelijke groeten,
    Tim Van Wassenhove <http://www.timvw.info>

    Comment

    • WindAndWaves

      #3
      Re: should I write $HTTP_POST_VARS[SubmitEmail]


      "Tim Van Wassenhove" <timvw@users.so urceforge.net> wrote in message news:360pqjF4sq 5ptU1@individua l.net...[color=blue]
      > On 2005-01-29, WindAndWaves <access@ngaru.c om> wrote:[color=green]
      > > SHould I write $HTTP_POST_VARS[SubmitEmail] or $HTTP_POST_VARS["SubmitEmai l"] or $HTTP_POST_VARS['SubmitEmail'][/color]
      >
      > Nowadays, you should write $_POST['SubmitEmail']
      >
      >[color=green]
      > > It seems that both of them (with or without quotes) work...[/color]
      >
      > rtfm: http://be2.php.net/manual/en/language.types.array.php
      >
      > --
      > Met vriendelijke groeten,
      > Tim Van Wassenhove <http://www.timvw.info>[/color]

      veel dank!


      Comment

      Working...