Date: 07/24/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2220 Updated: dynamic module memory leaks cause SIGSEGV"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5749 Updated: MySQL said: No Database Selected"
- In reply to: Jason Cox: "[PHP-DEV] $HTTP_RAW_POST_DATA"
- Next in thread: waldschrott: "Re: [PHP-DEV] RE: [PHP] $HTTP_RAW_POST_DATA"
- Reply: waldschrott: "Re: [PHP-DEV] RE: [PHP] $HTTP_RAW_POST_DATA"
- Reply: Jason Cox: "[PHP-DEV] Re: [PHP] $HTTP_RAW_POST_DATA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Why would you want to use $HTTP_RAW_POST_DATA anyway? What data could you be
trying to send to PHP to need it in a raw format? I can't find the origional
message from this one so I don't know what the real problem is. Can you let
me know?
John
-----Original Message-----
From: Jason Cox [mailto:jasonc <email protected>]
Sent: Sunday, July 23, 2000 2:47 PM
To: php-general <email protected>; php-dev <email protected>
Subject: [PHP] $HTTP_RAW_POST_DATA
Anyone have any ideas on this one??
Jason
> In php, use the variable $HTTP_RAW_POST_DATA, it should have what
> you're looking for.
$HTTP_RAW_POST_DATA is empty. www.faqts.com seems to have the answer to
why:
> To do this you must set the content type in the request header to
> something PHP doesn't recognize. For example, "Content-Type: xyz".
> If php3 doesn't recognize the content type it will assign the
> posted data to: $HTTP_RAW_POST_DATA which is then readily available
> in the script.
Unfortunately I have no control of the Content-Type. Internet Explorer
sets it to "application/x-www-form-urlencoded". That's the same as an
HTML Form Post (which of course it isn't). User-Agent is set to
"PostFavorites".
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2220 Updated: dynamic module memory leaks cause SIGSEGV"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5749 Updated: MySQL said: No Database Selected"
- In reply to: Jason Cox: "[PHP-DEV] $HTTP_RAW_POST_DATA"
- Next in thread: waldschrott: "Re: [PHP-DEV] RE: [PHP] $HTTP_RAW_POST_DATA"
- Reply: waldschrott: "Re: [PHP-DEV] RE: [PHP] $HTTP_RAW_POST_DATA"
- Reply: Jason Cox: "[PHP-DEV] Re: [PHP] $HTTP_RAW_POST_DATA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

