Masking CGI Scripts With JS
Jul 20, 2005
This is just a thought from a relative "potato head" when it comes to JS ...
BUT...
I was wanting to use a simple formmail script to handle the output of a
customer feedback form, and I remembered something about "FORMMAIL" CGI's
being nortoriously prone to hijacking by hackers who want to use 3rd-party
mail servers for spamming or DOS attacks, etc.
To use a {document.write} statement to "hide" my email addresses from spam
harvesters, could I do the same with a <FORM> statement in order not to
advertise my mail script to overtly?
View 3 Replies
Jun 12, 2006
I have a form which calls a cgi-app.This cgi expects a date to perform a
database query. The fields in the DB are in dd-mm-yyyy format, so everthing
works fine while the correct string is entered.
I don't want to validate the string when the submit event occurs,
actually i would like to have some kind of input mask over the input text(
that's what I'm told to do).
Basically, is there an HTML/javascript way to do that which doesn't
involve onsubmit validation or activeX including.
View 4 Replies
View Related
Jun 3, 2010
I have this code:
function addressmasking()
{
var sContents = "oaklands street, uperman, london"
var temp = sContents.charAt(0).toUpperCase() + sContents.substr(1).toLowerCase() );
}
The code above will change the sContents to "Oaklands street...." However i need the code to put captial letters infront of every word. I know this is probably done using a loop but my coding skills aren't that good.
View 4 Replies
View Related