Does revGoURL Auto-Encode URLs?
Mark Smith
mark at maseurope.net
Thu Sep 6 20:00:27 EDT 2007
Scott, have a look at the page source for the login page. You may
find that there's a javaScript function that does the POST.
As an example of something that I did a while ago, I wanted to
donload a page that had a form (set by buttons) that set a date. So I
had an applescript in a custom prop:
set tScr to "
document.ResultSel.Day.selectedIndex = dd;
document.ResultSel.Month.selectedIndex = mm;
document.ResultSel.Year.selectedIndex = yy;
ResultsValidate()"
tell application "Safari"
do JavaScript tScr in document 1
end tell
which my app would copy into a variable, replace the dd/mm/yy values
with the needed real values, and 'do as applescript'. If you're on
Windows, maybe there's a Windows way to do this?
Having said that, the site has changed since then, and it no longer
works...which is one of the problems with trying to interact with
designed-for-humans sites programmatically.
Best of luck,
Mark
On 7 Sep 2007, at 00:27, Scott Rossi wrote:
>
> More on this problem...
>
> The site uses an HTML post form to log in which points to
> "index.php". I've
> tried passing the username and password to the address of the page
> ("targetserver.com/index.php") within the URL string, like the
> above. But
> I'm still getting the browser's security alert message and being
> dumped on
> the site's home page (default). What else can I try?
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list