Hi Takashi,

Sorry for the error in previous post. Please, read :

   post URLEncode("kind=test2") to URL MIAS

instead at line 8.


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("kind=test2") to URL MIAS
  if it is not "" 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.
Always put "(" and ")" around urls containting vars and quoted contents.

HTH,

Pierre

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

Reply via email to