Date: 12/05/00
- Next message: Sascha Schumann: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5394 Updated: Linking problem with libphp4.a and libmodphp4.a"
- Previous message: Stig S. Bakken: "Re: [PHP-DEV] [PATCH] etc/odbc/php_odbc.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: t.rogall <email protected>
Operating system: Windows NT / IIS 4
PHP version: 4.0.3pl1
PHP Bug Type: HTTP related
Bug description: HTTP_POST-Data not accessible when no variable-name specified
I'm working on an XML-Project. My PHP-Script is called by another script on another server. It is sending a complete XML-File using the HTTP-POST-method.
For some reason it is sending *only* the XML-File, and *not* pairs of 'key and value'.
So for example the posted data is just '<xmldata>...</xmldata>' and not 'xml_file=<xmldata>...</xmldata>'.
It appears to me, that PHP tries to parse the data, but since it doesn't find any equals-signs ('=') in the data, it cannot divide the data into 'keys and values'.
The problem is that I cannot access the posted data at all. The $HTTP_POST_VARIABLES-array is set, but it is empty. The REQUEST_METHOD and CONTENT_LENGTH variables are correctly set (f.e POST and 2134).
If by accident somewhere in the data would appear a '=', then PHP interpretes the former part as the variable-name (with spaces converted to underscores!), and the latter as the variable-value. This could also become a problem, because a '=' or a '&' *could* be part of the data.
How can I access the posted data directly? This is quite urgent to me.
-- Edit Bug report at: http://bugs.php.net/?id=8116&edit=1-- 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: Sascha Schumann: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5394 Updated: Linking problem with libphp4.a and libmodphp4.a"
- Previous message: Stig S. Bakken: "Re: [PHP-DEV] [PATCH] etc/odbc/php_odbc.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

