Curl Login Problem |
[eluser]aruntvla[/eluser]
Hai friends... plz help me ...iam a new web developer with 3 months exp...now iam using CURL in my website for login to a remote site...but the response going to the login page...but i need it goes to the dashboard.... iam giving my codes in the controller page and curl library page...plz correct it...and post me....... ***************controller page code********************* Code: <?php iam waiting for ur reply.............if any doubt regarding this ask me...i need it urgent plz help....
[eluser]Cro_Crx[/eluser]
Enclose your code within [code] [/code] tags so others can read it well
[eluser]theprodigy[/eluser]
can you please show the view that contains the login form? Also, there is no code in your curllogin function to show a view, redirect to another page, or anything. You are logging them in, but nothing after that.
[eluser]aruntvla[/eluser]
*********view page code here*************** Code: <?php echo form_open('home/curllogin'); ?> i dont know how to give a code for curl login succees.... plz give me a code to reach login home.... Code: if($this->responce === true) but this code not working correctly....
[eluser]theprodigy[/eluser]
are you receiving an error message? is it not responding as it should be? How is it "not working correctly"?
[eluser]Phil Sturgeon[/eluser]
Grab the new version and use "echo $this->curl->debug()" for more information.
[eluser]aruntvla[/eluser]
Its only showing login page of http://8.14.146.44/CDR/ but i want to login to their home page after curl login success..........
[eluser]aruntvla[/eluser]
============================================= CURL Test ============================================= Code: Responce when i debugging i got this reply.....but i need its loginsuccesspage.....how i do it....plz help... :roll:
[eluser]aruntvla[/eluser]
[http_code] => 200 in curl means "HTTP_SUCCESS_NO_PROCESS" how i can change it as [http_code] => 0 (HTTP_SUCCESS)
[eluser]Phil Sturgeon[/eluser]
This is probably a limitation of my CURL class sadly. After execution of a request it closes the session ready for the next request to be made. I can modify the logic so that simple_get(), smiple_post(), etc always create, execute then close, but other methods keep it open? |
Welcome Guest, Not a member yet? Register Sign In |