note 76996 added to ref.curl

From: Date: Thu, 09 Aug 2007 12:44:26 +0000
Subject: note 76996 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-129372@lists.php.net to get a copy of this message
I have a login form that posts to a page and I'm trying to post the same data using curl and the login is NOT successful. Is there a difference between a form POST and a curl POST? Obviously the login is setting php session vars, is it possible that the curl post is outside of my browser's session so that the login is processed and functional only with in that curl request? I also tried this with AJAX and the same thing happens. Basically anything but a regular form POST fails to be logged in after the POST has been completed. I'm trying to make a single-signon for two systems and do not want to resort to submitting forms in separate frames/windows. Any help would be useful. Thanks! ---- Server IP: 209.41.74.194 Probable Submitter: 207.235.53.66 ---- Manual Page -- http://www.php.net/manual/en/ref.curl.php Edit -- https://master.php.net/note/edit/76996 Del: integrated -- https://master.php.net/note/delete/76996/integrated Del: useless -- https://master.php.net/note/delete/76996/useless Del: bad code -- https://master.php.net/note/delete/76996/bad+code Del: spam -- https://master.php.net/note/delete/76996/spam Del: non-english -- https://master.php.net/note/delete/76996/non-english Del: in docs -- https://master.php.net/note/delete/76996/in+docs Del: other reasons-- https://master.php.net/note/delete/76996 Reject -- https://master.php.net/note/reject/76996 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129372) next »