note 63726 deleted from ref.curl by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 19:23:51 +0000 |
| Subject: | note 63726 deleted from ref.curl by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155227@lists.php.net to get a copy of this message | ||
Note Submitter: tom at luigjes dot org
----
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.