URL function fails on http requests, results in "invalid host address", other internet functions work correctly

Gabriel Johnson gwjapp at gmail.com
Mon Nov 19 17:48:19 EST 2012


It fails at multiple points in our scripts. The post command appears to not
be working either, though several liburl function/commands do seem to be
working. It is very odd.

Gabe



On Mon, Nov 19, 2012 at 5:34 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Gabriel Johnson <gwjapp at ...> writes:
>
> >    put url "http://www.google.com" into htmlText; put the result
> >
> > returns "invalid host address" in the message box.
>
> Works here as well. Keep in mind, though, that the url function is a, well,
> function, so the argument should be in parentheses. Also, it's probably a
> bad
> idea to name a variable the same as a built-in keyword.
>
> put url("http://www.google.comm") into tHtmlText; put the result
>
> ...and when in doubt, don't trust the message box - put the code into the
> script
> of a button and click it to see the results.
>
> --
>  Mark Wieder
>  mwieder at ahsoftware.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list