>$HTTP_RAW_POST_DATA is an array...
>with echo you'll only get "array"..
No, it's a string - just the raw bytes that were posted.
>> Is register globals ON or OFF? Either way, maybe try
>> $_SERVER['HTTP_RAW_POST_DATA']...
Also, ensure that "always_populate_raw_post_data" is on, too - see:
http:
Your script should work fine, and to fix claims made in
this thread:
a) $HTTP_RAW_POST_DATA is NOT an array, it's a string.
b) It does not live in $_SERVER, or rely on register_globals.
Your code is wrong because you don't provide names for your
fields, so there is no POST data. Assign your
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> > Since print_r is usually used for debugging, it would be nice that
> > php does this for you. Any comments on this before i throw the
> > idea to the php-dev list?
>
> As of 4.3.0, you can store the o
* Thus wrote skate ([EMAIL PROTECTED]):
> > Since print_r is usually used for debugging, it would be nice that
> > php does this for you. Any comments on this before i throw the
> > idea to the php-dev list?
> >
>
> if it's just used for debugging, can't you just use the tags around
> it? i mean
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> Since print_r is usually used for debugging, it would be nice that
> php does this for you. Any comments on this before i throw the
> idea to the php-dev list?
As of 4.3.0, you can store the output of print_r() in a variable, so that
allows developers t
> Since print_r is usually used for debugging, it would be nice that
> php does this for you. Any comments on this before i throw the
> idea to the php-dev list?
>
if it's just used for debugging, can't you just use the tags around
it? i mean, it's no big deal, and you don't really need it forma
* Thus wrote Donald Tyler ([EMAIL PROTECTED]):
>
> Also, print_r() does not include any HTML formatting, so you will need to
> look at the source for the page in the browser to make it readable.
This is a problem I run into all the time, I am curious of how many
people have run into this. I've b
> Also, print_r() does not include any HTML formatting, so you will need to
> look at the source for the page in the browser to make it readable.
or your could use ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You should encase the $HTTP_RAW_POST_DATA in print_r() or you will just get
the word "Array" printed. But I doubt that will solver your problem because
it seems that $HTTP_RAW_POST_DATA is empty.
Also, print_r() does not include any HTML formatting, so you will need to
look at the source for the p
Hi,
$HTTP_RAW_POST_DATA is an array...
with echo you'll only get "array"..
To get something into $HTTP_RAW_POST_DATA, you need to "submit" your form
before...
Your script will only display something if you post the form before.
Regards,
P.E. Baroiller
"John W. Holmes" <[EMAIL PROTECTED]> a écr
Balazs Halasy wrote:
I need to have the contents of $HTTP_RAW_POST_DATA because of
non-regular uploads (from browser to my home-made WevDAV server implementation
(done in PHP)). However, no matter what I
do, it is always NULL. I guess the following script should return
SOMETHING in $HTTP_RAW_POST
11 matches
Mail list logo