Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.php > #3932
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Wohlert <martin@b-root-force.de> |
| Newsgroups | de.comp.lang.php |
| Subject | Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body |
| Date | Mon, 15 Aug 2016 13:28:30 +0200 |
| Organization | solani.org |
| Lines | 28 |
| Message-ID | <nos90m$4d0$1@solani.org> (permalink) |
| References | <nos8cv$fci$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | solani.org 1471260502 4512 eJwFwYEBgDAIA7CXxLYMzhkI/59gIrh5H7qcWi10zQeIzJVxrtfbPbGTJE7VPLaKr5eIDv4bGxFF (15 Aug 2016 11:28:22 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Mon, 15 Aug 2016 11:28:22 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
| Cancel-Lock | sha1:K7mOaFN5qmK09ShX5K0PLiTD4oI= |
| X-User-ID | eJwNx0cBwDAMBDBK8TgPOIkHfwitfoIYWbkaTLHY4Nfa8jKEpHBhfpqYzuhfBMFRyaW2knwFRSGtd2TSF/MBLfQUpw== |
| In-Reply-To | <nos8cv$fci$1@news.albasani.net> |
| X-NNTP-Posting-Host | eJwNxsEBwCAIA8CVCoSA44Do/iPYe50bhTtAJ/z61SlItHTqxzWg5cpM7nNiEHWIMqBdNf7YAwwEEEw= |
| Xref | csiph.com de.comp.lang.php:3932 |
Show key headers only | View raw
Hallo Gerome,
eigentlich sollte doch das globale Array $_POST entsprechend deine Daten
enthalten.
Was bringt denn ein "var_dump($_POST);" ?
LG
Martin
Am 15.08.2016 um 13:17 schrieb Gerome Muent:
> Hallo zusammen,
> in dem Fall ist bei mir leer:
> $requestBody = file_get_contents("php://input");
> $requestBody = file_get_contents("php://stdin");
> $requestBody = $HTTP_RAW_POST_DATA;
>
> Ich finde:
> http://www.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
> Regardless of the setting, $HTTP_RAW_POST_DATA is not available with
> enctype="multipart/form-data".
>
> Ähnlich für die anderen.
>
> Nur wie komme ich an meinen POST-Body?
>
> Danke für Tips, Gérôme
Back to de.comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Gerome Muent <kontakt@bmservices.de> - 2016-08-15 13:17 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Martin Wohlert <martin@b-root-force.de> - 2016-08-15 13:28 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Gerome Muent <kontakt@bmservices.de> - 2016-08-16 09:18 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-08-15 16:21 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Gerome Muent <kontakt@bmservices.de> - 2016-08-16 09:17 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-16 11:09 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-08-16 11:21 +0200
Re: Wie komme ich bei HTTP-Post-Request mit Content-Type: multipart/form-data; boundary=cbd60835-f15e-49e4-b0a2-6c569cea3a01 an den POST-Body Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-16 09:35 +0200
csiph-web