FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cURL login problem for a licensed webpage
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cURL login problem for a licensed webpage [message #175550 is a reply to message #175547] Thu, 06 October 2011 18:52 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Thu, 06 Oct 2011 05:23:41 -0700, Çağlar Bozkurt wrote:

> Hey guys, i'm writing a simple code piece to create a little application
> for our university and i need to login our university's data management
> system.

Step back and apply some thought.

How does the web site, once you have logged into it, normally identify
that, from one http to the request, it is talking to the same client?

I would imagine that the website is presenting credentials to the browser
following a successful login, either using a value set in a hidden form
field, or setting a cookie, and then expecting the browser to use these
credentials to subsequently identify the user "session" to the website.

You will need to determine exactly how the website does this, and set
your curl calls up appropriately to retrieve and present such
"credentials" after "logging in".

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: hai
Next Topic: Need Jr PHP Developers
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 22:19:22 GMT 2024

Total time taken to generate the page: 0.04301 seconds