Re: Can't fetch HTTP POST data in PHP?
| From: | Chris Shiflett | Date: | Sat, 15 Nov 2003 21:43:48 +0000 |
| Subject: | Re: Can't fetch HTTP POST data in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169770@lists.php.net to get a copy of this message | ||
--- Ivan Marenic <imarenic@milleniumtip.com> wrote:
> Here is j2me code snippet:
I try to avoid all of the crap that begins with the letter J, but your
example code looks like you are sending a POST request.
> Here is PHP code snippet:
>
> // Show any post vars, but nothing shows - never!
> if(count($_POST)>0){
> echo "POST".$new_line;
> print_r($_POST);
> echo $new_line;
> }
This looks you are expecting to receive a POST request with PHP. So, are
you wanting to send one or receive one?
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp