Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 05-07-2009, 01:52 PM Auto submit script?
Extreme Talker

Posts: 169
Trades: 0
Or similar. Basically I want to test my submit forms against spam, but doing it manually would take forever.
I used to have a script for it, but somehow managed to lose it and no longer remember how to write one either.
I'm sure I should use the DOM model for it, but I haven't needed that for ages (the less you use it, the better)

Since I don't have the form accessible to me from here, I wrote this off the top of my head. It's pretty standard.
Code:
<div align="center" class="commentarea"><form name="post" action="mailer.php" method="POST" enctype="multipart/form-data">
<b>Name</b> <input class=inputtext type=text name=name size="28"><span id="tdname"></span>
<b>E-mail</b> <input class=inputtext type=text name=email size="28"><span id="tdemail"></span>
<b>Subject</b> <input class=inputtext type=text name=sub size="35">
<b>Comment</b> <textarea class=inputtext name=com cols="48" rows="4" wrap=soft></textarea>
<b>File</b> <input type=file name=upfile size="35">
<input type=submit value="Submit" accesskey="s">
</form></div>
It'd be enough if you point me in the right direction / give an example. Once I have a refresh, I can probably remember enough to write it myself. I need to be able to tell it to post every X seconds and attach a list of various files from my local hard drive.

If something already exists to do this, it'd be even better.
__________________
George Bush would never take me alive.
MJM_RDS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Auto submit script?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07863 seconds with 12 queries