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.
|