Re: Can't fetch HTTP POST data in PHP?
| From: | Ivan Marenic | Date: | Sat, 15 Nov 2003 21:45:48 +0000 |
| Subject: | Re: Can't fetch HTTP POST data in PHP? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169771@lists.php.net to get a copy of this message | ||
> This looks you are expecting to receive a POST request with PHP. So, are
> you wanting to send one or receive one?
Receive one.
"Chris Shiflett" <shiflett@php.net> wrote in message
news:20031115214348.47700.qmail@web14305.mail.yahoo.com...
> --- 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