Can a PHP script fill a form behind a login page?
How can a PHP script complete a login form to enter the members area (I have a username and password), such that it can send POST data to complete another form only accessible if 开发者_开发问答 logged in?
I'm not sure exactly what you are trying to do but I suggest checking out webrat if you are attempting to test a site. http://github.com/brynary/webrat
Hope that helps, David.
精彩评论