$_POST empty, $HTTP_RAW_POST_DATA filled

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

    $_POST empty, $HTTP_RAW_POST_DATA filled

    We receive a POST message being a multipart/mixed type. The
    $HTTP_RAW_POST_ DATA shows it perfectly. However, I expected the $_POST to be
    filled as well, which is empty. We're using php 4.3.3.

    Any ideas?
    Thx.
    Marc




  • Luke Ross

    #2
    Re: $_POST empty, $HTTP_RAW_POST_ DATA filled

    Hi,

    Marc Lambrichs wrote:[color=blue]
    > We receive a POST message being a multipart/mixed type. The
    > $HTTP_RAW_POST_ DATA shows it perfectly. However, I expected the $_POST to be
    > filled as well, which is empty. We're using php 4.3.3.[/color]

    AFAIK, $_POST only gets filled if the POST type is
    "applicatio n/x-www-form-urlencoded". Otherwise you have to decode it by
    hand.

    Luke

    Comment

    • Randell D.

      #3
      Re: $_POST empty, $HTTP_RAW_POST_ DATA filled


      "Marc Lambrichs" <marcl@melang e-it.nl> wrote in message
      news:3f822f00$0 $58714$e4fe514c @news.xs4all.nl ...[color=blue]
      > We receive a POST message being a multipart/mixed type. The
      > $HTTP_RAW_POST_ DATA shows it perfectly. However, I expected the $_POST to[/color]
      be[color=blue]
      > filled as well, which is empty. We're using php 4.3.3.
      >
      > Any ideas?
      > Thx.
      > Marc[/color]

      I've not tried that yet but if I were I'd shove your form data through to
      phpinfo(); and check where it turns up there...


      Comment

      • Nikolai Chuvakhin

        #4
        Re: $_POST empty, $HTTP_RAW_POST_ DATA filled

        "Marc Lambrichs" <marcl@melang e-it.nl> wrote
        in message news:<3f822f00$ 0$58714$e4fe514 c@news.xs4all.n l>...[color=blue]
        >
        > We receive a POST message being a multipart/mixed type. The
        > $HTTP_RAW_POST_ DATA shows it perfectly. However, I expected
        > the $_POST to be filled as well, which is empty.[/color]

        What about $_FILES?

        Cheers,
        NC

        Comment

        • Zurab Davitiani

          #5
          Re: $_POST empty, $HTTP_RAW_POST_ DATA filled

          Marc Lambrichs wrote on Monday 06 October 2003 20:11:
          [color=blue]
          > We receive a POST message being a multipart/mixed type. The
          > $HTTP_RAW_POST_ DATA shows it perfectly. However, I expected the $_POST to
          > be filled as well, which is empty. We're using php 4.3.3.[/color]

          Just a side note - if you are using 4.3.3, it's better to use php://input
          instead of $HTTP_RAW_POST_ DATA. See




          --
          Business Web Solutions
          ActiveLink, LLC

          Comment

          Working...