| Author |
Topic Search Topic Options
|
Gullanian
Senior Member
Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
|
Post Options
Thanks(0)
Quote Reply
Topic: Form auto submitting Posted: 19 July 2004 at 11:21am |
I've got a job where I have to write a script to automatically submit a users CV data into about 30 different websites automatically. Some websites need email confirmation, some allow you straight in, etc etc, a wide variety of form types.
Once I get it to know which forms and fields to submit, without the user pressing a button to submit all the data individually to each one (like Bruces search engine submission tool) is there anyway to get the server to do this all at once with one click of the button?
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 July 2004 at 11:30am |
|
You could use the XML HTTP object to post the data to the other servers (loop through each server) presuming that to submit it to the websites you just need to post the data.
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 July 2004 at 11:46am |
|
Just as an aside - ServerXMLHTTP is faster than XMLHTTP.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
Gullanian
Senior Member
Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2004 at 7:01am |
|
Thanks guys, but when you for example create an account on a website, how does the server log in and then submit another form on the site where you are required to be logged in?
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2004 at 7:57am |
Don't know, never did that. Might try using XMLHTTP instead of serverXMLHTTP. They use different tcp/ip stacks and I think XMLHTTP more closely resembles a browser's stack. Don't know if it maintains a connection though.
After you do the post to login, you'll have to look at the headers that are returned and at a minimum use the session id and any cookies in the next set of headers you send.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
Mart
Senior Member
Joined: 30 November 2002
Status: Offline
Points: 2304
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2004 at 8:22am |
|
Do the websites not have a submission service? Or do you have to login on their main site and do it
|
 |
Gullanian
Senior Member
Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2004 at 8:24am |
|
Erk, pretty complicated designing this with a database. Thanks, this is pretty difficult.
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2004 at 9:46am |
|
A lot of sites that host resumes specifically try to block automated submission software - keeps people from visiting the site and viewing the advertisements.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |