Find and Replace
Home > Home Recording Forum > Talkin' Smack > Find and Replace
Posted on Jan 30, 2004 03:25 pm
TheTincanbug
sloppy dice, drinks twice
Member Since: Aug 05, 2003
Hey you web guys.... do you know of any software (free is a huge preference) that performs a find-and-replace function for html code, preferably on a remote server? I gotta update the email address on a website I manage, I keep getting tons of spam, I want to replace it with a form email page link.
Thanks!
[ Back to Top ]
Jan 30, 2004 03:30 pm FYI, if your server allows php, I have a formmailer script that totally hides all sensitive info about recipients from spambots, you can get it at my scripts site. scripts.dbmasters.net/
TheTincanbugsloppy dice, drinks twiceMember
Since: Aug 05, 2003
Jan 30, 2004 03:33 pm Well, I was going to go with a 3rd party-hosted form, since I'm on Tripod. Tripod doesn't come with bells/whistles...
Thanks for the link! I'll check it out.
Jan 30, 2004 03:35 pm Ah, Tripod...ya, not many features there at all.
Wherever you host the form, MAKE SURE that the recipients email address (that being you) IS NOT stored in a hidden field in the form, otherwise the address will just keep getting spidered anyway...that just hides the address in from browser view, bots still see it in the code.
TheTincanbugsloppy dice, drinks twiceMember
Since: Aug 05, 2003
Jan 30, 2004 03:39 pm ah, a very good point. I will make sure that's it's not in the html for that page.
Jan 30, 2004 03:46 pm if it is manditory, what you CAN do is put the form through some javascript before it submits to the third party form processor, then in the javascript set the email through a series of concatinated variables:
<script type="text/javascript">
<!--
function setMail()
{
var user="tin";
var domain="can";
var tld="bug";
document.form.emailfieldname.value=user + "@" + domain + "." + tld;
return true;
}
//-->
</script>
That give the "emailfieldname" field the value of "[email protected]" without actually looking like an email address :-)
Then in the form tag do onsubmit="return setMail();"...something along those lines anyway...
flame...bringing sexy backMember
Since: Jul 01, 2002
Jan 30, 2004 05:25 pm db, that is the coolest avater ever...nice! im just changing mine now...
Noize2uCzar of MidiAdministrator
Since: Apr 04, 2002
Jan 31, 2004 02:15 am You guys are rotating avatars now huh.
Jan 31, 2004 07:17 am That's a good color scheme, flame :)
I use Note Tab too-- I love that editor! I have a free program called "Search & Replace 98." Maybe do a google search on that and it will pop up since I don't remember where I got it...
Jan 31, 2004 07:43 am Noise, this is about my 6th avatar since starting the avatar option...and I have no plans to stop at this one :)
Noize2uCzar of MidiAdministrator
Since: Apr 04, 2002
Jan 31, 2004 10:55 am I know, it was kind of a joke as you two have been switching avatars more then anyone. I guess maybe it is time for me to pop a new one up as well. I gotta figure out how to shrink the one I want down to that size though without him getting ugly. Its a kool little bug dude playin guitar, looks kinda like your Washburn only blue.
DanMember
Since: Nov 21, 2002
Jan 31, 2004 11:46 am dB, Strong Bad ROCKS!
yea... what an unneccisary post... :)