Afficher un message
Vieux 16/06/2008, 19h44   #4
h.stroph
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: php, cURL and javascript

In news:g2umd5$j8n$1@registered.motzarella.org,
Jerry Stuckle <jstucklex@attglobal.net> typed:

>> I apologize for my lack of literacy with php, but am wondering if
>> someone will tell me how to use the curl php functions to navigate
>> to the page that results from entering the login and password at
>> https://retire.hartfordlife.com/Hart...ine/login.html and
>> clicking the "Log In" button please.
>>
>> My intention is to cron the script so that I can automatically
>> retrieve my account balance every morning, but the javascript is the
>> only roadblock for me when using curl alone.
>> http://us2.php.net/manual/en/ref.curl.php implies that it's possible
>> somehow, but I'm at a loss to figure out the coding on my own.

>
> You might be able to get by the javascript on this page just by
> posting the values - not sure, because I haven't looked closely at
> what the javascript does. It might work, however.


A simple posting of the values was of course the very first thing I tried.
The URL was included so that if someone was inclined to they could see
the details.

> But the next question is - what about the following page(s)? Do they
> require javascript, also?


No they do not.

> Have you asked the webmaster how you can do it?


The web "master" does not respond to such queries, and my question was how
to use the php curl functions to login to the site, something better suited
to the people here who are well-versed in php.


  Réponse avec citation
 
Page generated in 0,05118 seconds with 9 queries