note 76996 rejected from ref.curl by nlopess

From: Date: Thu, 09 Aug 2007 14:30:31 +0000
Subject: note 76996 rejected from ref.curl by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-129378@lists.php.net to get a copy of this message
Note Submitter: momentous at REMgmail dot com ---- 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!

« previous php.notes (#129378) next »