Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-18 Thread Arne Rusek
On Mon, 17 Nov 2003 15:30:43 +, Curt Zirzow wrote: > * Thus wrote Arne Rusek ([EMAIL PROTECTED]): > Your problem exists here: > > Server API => Command Line Interface > _ENV["SERVER_SOFTWARE"] => Boa/0.94.13 > > Seeing this tells me your webserver is not configured correctly, > Boa should n

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-17 Thread Curt Zirzow
* Thus wrote Ivan Marenic ([EMAIL PROTECTED]): > I did not omit content. > Copied whole text box in sniffer using context menu comands (select all, > copy) - pasted to news agent. > There is no content. I didn't see the output of phpinfo or your print_r(). that leads me to believe that your sniffe

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-17 Thread Curt Zirzow
* Thus wrote Arne Rusek ([EMAIL PROTECTED]): > > If someone is interested in reading through the whole result it could > be downloaded from > > http://zonk.matfyz.cz/php_post_problem Your problem exists here: Server API => Command Line Interface _ENV["SERVER_SOFTWARE"] => Boa/0.94.13 See

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-17 Thread Ivan Marenic
Hi, Kim. Your example is good but you missed the point here. Chris knows exactly where my problem is. Sending HTTP POST from mobile device is a bit different than using classic web client. It shouldnt be, but it is. Data is going trough WAP gateways, mobile operators proxeis ... Worst case scen

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-17 Thread Kim Steinhaug
I dont see the problem here at all, here is my test : CutNpaste into your own environment ans save as .php file . All I did was remove the php_info() so that variables dont get messed up (apparently), and removed the error_reporting. Result gives this : array(3) { ["username"]=> string(3) "123" [

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-16 Thread David T-G
Ivan -- ...and then Ivan Marenic said... % % Solved all my problems with PERL. Perl can be handy that way sometimes :-) Care to tell us what the fix was, though, so that 1) future surfers can know and 2) interested folks here might suggest how PHP can do it? % % Cheers. TIA & HTH & HAND :

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-16 Thread Ivan Marenic
Solved all my problems with PERL. Cheers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-16 Thread Arne Rusek
Hello. On Sat, Nov 15, 2003 at 05:31:01PM -0800, Chris Shiflett wrote: > That does seem strange. I glanced at this page of yours: > > > http://zonk.matfyz.cz/php_post_problem > > And I saw this: > > REQUEST_METHOD => GET > So, why was the request a GET request rather than a POST request? There

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Chris Shiflett
--- Arne Rusek <[EMAIL PROTECTED]> wrote: > I used this form: > > > Your name: > Email: > > > > The test.php script contained this code: > >error_reporting(E_ALL); > echo "\n"; > phpinfo(); > echo "\n"; > var_dump($_POST); > ?> > > Then I s

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Arne Rusek
Hello. I read throughout this thread and it looks like I have encountered the same problem. Everything looks just fine but somehow the PHP does not parse the request data sent to the script. I did some research on that but gave up since I couldn't find how and where those data were parsed. But I'v

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
I did not omit content. Copied whole text box in sniffer using context menu comands (select all, copy) - pasted to news agent. There is no content. However, when using local server, on my desktop, I assume there is content because I am getting response from ASP page with exact data wich is sent fr

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Chris Shiflett
--- Ivan Marenic <[EMAIL PROTECTED]> wrote: > Here is "failed" POST REQUEST to that server: > * > POST /http_post.php HTTP/1.1 > User-Agent: Profile/MIDP-1.0 Configuration/CLDC-1.0 > Host: www.milleniumtip.com:80 > Content-Disposition: attachment; name="userfile"

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
> Is it possible for you to show us the HTTP request that is failing? It is > possible that it is malformed in some way that is fine with some Web > servers and not with others. That may be possible but I am testing ASP i PHP(4.3.2) on same server IIS 5.0, localy. Can't sniff that (Network adapter

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Chris Shiflett
--- Ivan Marenic <[EMAIL PROTECTED]> wrote: > > This looks you are expecting to receive a POST request with PHP. So, > > are you wanting to send one or receive one? > > Receive one. Is it possible for you to show us the HTTP request that is failing? It is possible that it is malformed in some way

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
> 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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Ivan Marenic <[EMAIL PROTECTED]> wrote: > > Here is j2me code snippet: > > I try to

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Chris Shiflett
--- Ivan Marenic <[EMAIL PROTECTED]> 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($_P

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
Here is ASP code that works. Dim binread Dim bytecount bytecount = Request.TotalBytes binread = Request.BinaryRead(bytecount) 'Send response back to client Response.BinaryWrite binread -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
Here is j2me code snippet: byte[] postData="This is my test line! It works! Yipi-Yai-Yee!!!".getBytes(); try{ c = (HttpConnection)Connector.open(url_post); c.setRequestMethod(HttpConnection.POST); c.setRequestProperty( "User-Agent", "Profile/MIDP-1.0 Configuration

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Chris Shiflett
--- Ivan Marenic <[EMAIL PROTECTED]> wrote: > Any idea why? > > I am sending HTTP post request from j2me mobile device. > > Request is OK because it works well on ASP page. You have to provide some information if you want anyone to help you. Chris = Chris Shiflett - http://shiflett.org/ P

[PHP] Can't fetch HTTP POST data in PHP?

2003-11-15 Thread Ivan Marenic
Any idea why? I am sending HTTP post request from j2me mobile device. Request is OK because it works well on ASP page. Thanks for help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php