Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.php > #3936
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.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 | Tue, 16 Aug 2016 09:35:55 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 26 |
| Message-ID | <2439249.hd35daYeMm@PointedEars.de> (permalink) |
| References | <nos8cv$fci$1@news.albasani.net> |
| Reply-To | Thomas 'PointedEars' Lahn <php@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1471332957 16978 eJwFwYEBgDAIA7CXYECr5zgK/59gUgFHM1HI2lrZNtjoaHm55nX75ugCS9rlRI64Oo+OR/4wwxGO (16 Aug 2016 07:35:57 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Tue, 16 Aug 2016 07:35:57 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-User-ID | eJwFwQkBwDAIA0BL5Qsgp4PGv4TdhUEw6Qh4MCjlbE69vds4a6VOyc5SOybOOXhrt3oldlwHRPXsKw3r7wdNlxVU |
| X-NNTP-Posting-Host | eJwFwYEBwCAIA7CXdKUFz2Eg/59gQmir3EQZh+OLfdEjTzMMy/JmtMJ96gCn6seHODt7DeIBJNoRRA== |
| Cancel-Lock | sha1:XaPWc8p5krs/ToingeyEln4X4Cc= |
| Xref | csiph.com de.comp.lang.php:3936 |
Show key headers only | View raw
Gerome Muent wrote:
> 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?
Eher gar nicht, aber *genau* das willst Du auch nicht, oder?
<https://www.google.com/search?q=php+read+multipart%2Fform-data>
<http://php.net/manual/de/features.file-upload.post-method.php>
--
PointedEars
Zend Certified PHP Engineer
<http://www.zend.com/en/yellow-pages/ZEND024953> | Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to de.comp.lang.php | Previous | Next — Previous 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