How can I POST to a login.php script via http?

  • Thread starter Thread starter Lucas M
  • Start date Start date
L

Lucas M

Guest
Is this possible? For example, if I want to log into myspace, or facebook directly from my personal web page?
 
That will not always work, sorry, but sometimes login scripts contain a cookied verification...
Also, if the form DOES NOT contain ('action='someurl') then it wont work, because the login is POsting to the same page.
required *
<form action='someurl' method='post or get'>

if action isn't there, you can try: (in your webpage still paste the same script)
Now log in to your facebook (for example) and when you hit login... read the directory name (e.g login.php). if it stays on the same page, its probably settable that in your action could be 'http://facebook.com/login.php'.
 
First you need to retrieve the login form from mysql and facebook (in HTML). Then just paste it into your personal webpage source. Then where it says 'action' in the form attributes, put the full URL of where the information is posted to
 
Back
Top