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 scenario is that some header items can be generated by
application, some by the phone's runtime, and others by the WAP gateway.

And those reaching the server might not be what we expect.

Regards,
Ivan







"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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" ["email"]=> string(3) "123"
> ["submit"]=> string(10) "Submit me!" }
>
> -------------------------------------------------------------
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
>  <title>Untitled</title>
> </head>
> <body>
> <?php
> //error_reporting(E_ALL);
> echo "<pre>\n";
> //phpinfo();
> echo "</pre>\n<br/>";
> var_dump($_POST);
> ?>
> <form action="<?=$PHP_SELF?>" method="POST">
> Your name: <input type="text" name="username"/><br/>
> Email: <input type="text" name="email"/></br>
> <input type="submit" name="submit" value="Submit me!">
> </form>
> </body>
> </html>
> --------------------------------------------------------------
>
> -- 
> Kim Steinhaug
> ---------------------------------------------------------------
> There are 10 types of people when it comes to binary numbers:
> those who understand them, and those who don't.
> ---------------------------------------------------------------
>
>
> "David T-G" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to