note 63726 added to ref.curl

From: Date: Wed, 29 Mar 2006 10:48:13 +0000
Subject: note 63726 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-106933@lists.php.net to get a copy of this message
When you try to login to a page using cURL, you could experience problems when you're not providing the right URL. For instance, if you use the front page to login (http://awebsite.com/) where to form is located, you will receive a http 405 error, instead view the source and see what the form's action is, it might just be: http://awebsite.com/processlogin.php Took me hours to find this out, hope it can save someone else's time. ---- Server IP: 83.137.20.120 Probable Submitter: 146.50.19.31 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.curl.php Edit -- http://master.php.net/note/edit/63726 Del: integrated -- http://master.php.net/note/delete/63726/integrated Del: useless -- http://master.php.net/note/delete/63726/useless Del: bad code -- http://master.php.net/note/delete/63726/bad+code Del: spam -- http://master.php.net/note/delete/63726/spam Del: non-english -- http://master.php.net/note/delete/63726/non-english Del: in docs -- http://master.php.net/note/delete/63726/in+docs Del: other reasons-- http://master.php.net/note/delete/63726 Reject -- http://master.php.net/note/reject/63726 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106933) next »