Hi there,
I was wanting to log into a website automaticallly (cause it annoys me having to type out my details everytime!)
I wastrying to use Javascript to fill the form:
myform.username = "MyUsername"
myform.password = "Mypassword"
But i kinda got a bit lost on the submit button!
My friend told me that PHP has a way of doing it, and though i have basic knowledge of PHP i couldnt for the life of me work out a way to access forms using php.
Does anyone have any suggestions of any websites that are handy to read up on this information?
Kind regards
Nash
Logging into a Form using PHP
Moderator: General Moderators
-
Robert Plank
- Forum Contributor
- Posts: 110
- Joined: Sun Dec 26, 2004 9:04 pm
- Contact:
Im actually looking to build a php page that when clicked will log into myspace.com...
Any ideas?
Using Curl and Snoopy doesnt really help me cause they are external packages.. i simply just want one page containing the code to do this..
I was thinking bout being able to display the page then calling a javascript function which will fill the username and password boxes then click the submit button.
Then go back to the php script and do the next part.. is this possible?
Any ideas?
Using Curl and Snoopy doesnt really help me cause they are external packages.. i simply just want one page containing the code to do this..
I was thinking bout being able to display the page then calling a javascript function which will fill the username and password boxes then click the submit button.
Then go back to the php script and do the next part.. is this possible?