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