$_POST empty, $HTTP_RAW_POST_DATA filled

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default $_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




    Marc Lambrichs Guest

  2. Similar Questions and Discussions

    1. $_POST getting lost, $GLOBALS['HTTP_RAW_POST_DATA'] is still set
      Hi All, I cannot turn off magic quotes, since I am just leasing space from a hosting company, and they determine the magic_quotes settings. I...
    2. #25914 [Csd->Bgs]: $_POST array is always empty
      ID: 25914 Updated by: sniper@php.net Reported By: atabac01 at hotmail dot com -Status: Closed +Status: ...
    3. #25914 [Opn->Csd]: $_POST array is always empty
      ID: 25914 User updated by: atabac01 at hotmail dot com Reported By: atabac01 at hotmail dot com -Status: Open...
    4. #25914 [NEW]: $_POST array is always empty
      From: atabac01 at hotmail dot com Operating system: windows XP PHP version: 4.3.3 PHP Bug Type: *General Issues Bug...
    5. Why if(isset($_POST)) is true when its empty...
      Folks, At the begining of my html I have a PHP insert which should be called when the user submits the form that the html contains... I found...
  3. #2

    Default Re: $_POST empty, $HTTP_RAW_POST_DATA filled

    Hi,

    Marc Lambrichs wrote:
    > 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.
    AFAIK, $_POST only gets filled if the POST type is
    "application/x-www-form-urlencoded". Otherwise you have to decode it by
    hand.

    Luke

    Luke Ross Guest

  4. #3

    Default Re: $_POST empty, $HTTP_RAW_POST_DATA filled


    "Marc Lambrichs" <marcl@melange-it.nl> wrote in message
    news:3f822f00$0$58714$e4fe514c@news.xs4all.nl...
    > 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
    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...


    Randell D. Guest

  5. #4

    Default Re: $_POST empty, $HTTP_RAW_POST_DATA filled

    "Marc Lambrichs" <marcl@melange-it.nl> wrote
    in message news:<3f822f00$0$58714$e4fe514c@news.xs4all.nl>...
    >
    > 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.
    What about $_FILES?

    Cheers,
    NC
    Nikolai Chuvakhin Guest

  6. #5

    Default Re: $_POST empty, $HTTP_RAW_POST_DATA filled

    Marc Lambrichs wrote on Monday 06 October 2003 20:11:
    > 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.
    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

    [url]http://us4.php.net/wrappers.php[/url]


    --
    Business Web Solutions
    ActiveLink, LLC
    [url]www.active-link.com/intranet/[/url]
    Zurab Davitiani Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139