• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to write a program that will submit simple web form?

supernova87a

Senior member
Hi all,

Here's my programming problem that I hope you can advise me on:

I would like to forward my email messages to my cell phone. However, I don't have an email address for the phone, only a web form I can use to send messages one at a time for free. The webpage is here if you want to take a look. It basically has two fields that you fill in, one is the phone number, the other is the text you want to send. It seems to be partly javascript based.

My question, how would I write a script that would automatically pipe messages to be submitted by http request (I'm on a unix/pine system)? I can probably figure out the forward messages to a shell script part, but what would I use to automatically submit web forms? I've heard of smarter people doing this with stupid web forms they have to submit often -- but what exactly would I do?

Thanks!
 
Perl scripting has a HTTP package, you'd use that to either POST or GET a message to the address that the web from page submits to (the < FORM action="address" > address).

I usually do this stuff in Visual C++ with winsock or wininet though, so you'll have to do some googling or hope a perl guru reads this.
 
My question, how would I write a script that would automatically pipe messages to be submitted by http request (I'm on a unix/pine system)? I can probably figure out the forward messages to a shell script part, but what would I use to automatically submit web forms? I've heard of smarter people doing this with stupid web forms they have to submit often -- but what exactly would I do?
How familiar are you with perl? I've written a few scripts to do this (using the Socket package not the HTTP package), but nothing specific for your particluar web form... if I send you a script, do you know enough about perl and HTTP to modify it on your own?
 
Back
Top