Hi Takashi, Try :
put "http://m3-shiga.yoslab.net/m3is_v4_debug/test.php" into MIAS get url MIAS & "?function=test" if it is not "" then ### parse your $_GET response end if set httpHeaders to "Content-type: application/x-www-form-urlencoded" & return get url MIAS ### tip to be sure to wakeup the server ### post URLEncode("sudexpress=" & hexDigest("publicmclt") & "&query=activeDataSet") to URL MIAS ### spécifique sous-domaine : 4/5 ### if it is "" then ### parse your $_POST or $_POST_RAW response end if Don't try to get both the GET and POST replies from a single request. HTH, Pierre Le 18 nov. 2012 à 08:56, Takashi Yoshino a écrit : > Dear LiveCode Experts, > > I need your help. > > I developed some software using LiveCode. > > Post program cannot work on Android 4.0.4. > It is work on Android 3.2. > > I wrote a short script to check Post. > > I think POST program has some problems. > > Could you give some information? > I need your help. > > -------- > on mouseUp > put empty into fld "test5" > put "http://m3-shiga.yoslab.net/m3is_v4_debug/" into theServer > post ("&kind=test2") to url theServer&"test.php?"&"function=test" > put it into fld "test5" > end mouseUp > ------ > > PHP program > --- > <?php > > try { > > print_r ($_GET); > print_r ($_POST); > > } catch (Exception $e) { > echo 'Error!: ' . $e; > die(); > } > --- > > > My development environment is LC 5.5.3 > > > Best regards. > > > _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ > Takashi Yoshino > http://www.wakayama-u.ac.jp/~yoshino/lab/ > Tel: +81-73-457-8441 > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode