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
* 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
* 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
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
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" [
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
:
Solved all my problems with PERL.
Cheers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
--- 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
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
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
--- 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"
> 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
--- 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
> 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
--- 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
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
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
--- 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
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
20 matches
Mail list logo