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-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-15 Thread Ivan Marenic
from client. PHP page responses exactly the same as the one on remote Apache server. I have mental fog in my mind write now. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Ivan Marenic <[EMAIL PROTECTED]> wrote: > > Here i

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 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: > >

[PHP] ASP code that works!

2003-11-15 Thread Ivan Marenic
Dim binread Dim bytecount bytecount = Request.TotalBytes binread = Request.BinaryRead(bytecount) 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 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

[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

Re: [PHP] Write file can't work ?!? :-(

2002-11-17 Thread Ivan Marenic
ng like the following: > - Right click on the folder > - Select proprieties > - Click on security icon > - And allow everyone to write, read, execute > > If you cannot access this tools, ask your administrator to allow you to do > this work. > > > - Original

Re: [PHP] Write file can't work ?!? :-(

2002-11-17 Thread Ivan Marenic
n absolute path rather than a relative one? Jason On Sun, 2002-11-17 at 12:57, Ivan Marenic wrote: > I've tried. It doesent work. > > PHP documentation for fopen function says following: > > Note: The mode may contain the letter 'b'. This is useful only on syste

Re: [PHP] Write file can't work ?!? :-(

2002-11-17 Thread Ivan Marenic
I've tried. It doesent work. PHP documentation for fopen function says following: Note: The mode may contain the letter 'b'. This is useful only on systems which differentiate between binary and text files (i.e. Windows. It's useless on Unix). If not needed, this will be ignored. I've tried all