I've tried to used to POST data (that's username&password)

from REALbasic to PHP (login page) and submit that value

,but it seems does not work well.What more suitable way should I use?

 

  // Dim socket1 as new HTTPSocket

  //dim data as new dictionary

  //data.value("action")="submit"

  /data.value("usrid")="username"

  //data.value("passwd")="password"

  

  // setup the socket to POST the form

  //socket1.setFormData data

  //socket1.post
"https://ip_address/apache2-default/PHP_Scripts/login.php";

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to