Posting to a web page

Len Morgan len-morgan at
Sat Oct 16 22:47:06 EDT 2010

  So it's no different than a GET except that it doesn't go in the URL?  
That's easy!

Thanks Sarah,

len morgan

On 10/16/2010 7:18 PM, Sarah Reichelt wrote:
> Len you need to pair up the variable names with their values.
> Something like this:
> put "username="&  URLencode(tUserName) into myDataString
> put "&password="&  URLencode(tPassword) after myDataString
>   etc, etc.
> Then you can use the post command as you have it below.
> Cheers,
> Sarah

> On Sun, Oct 17, 2010 at 9:37 AM, Len Morgan<len-morgan at>  wrote:
>>   I'm trying to create a "value added" front end to a web site.  What I need
>> to do first is login to my account.  I suspect the the entire site is
>> created in the same "style" so once I get past logging in, I should be able
>> to scrape the rest of the data I need to present in LiveCode locally.
>> The login page is a simple html form with 4 "fields":
>> auth_vars[username]
>> auth_vars[password]
>> auth_vars[submit] Value="Login"
>> auth_vars[action]  Value="login"
>> The form will be submitted to /login.php using POST
>> My question is how can I create this login sequence and send it to login.php
>> followed by the variables?  I know with the GET method you have
>> varname=value separated by commas.  LiveCode will let me do something like:
>> post myDataString to URL ""
>> but I don't know how to format myDataString in order to have it accepted.
>> Any help or pointers to web sites that might enlighten me are appreciated.
>> len morgan
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:

More information about the Use-livecode mailing list