Forum Moderators: open
I found this great email, dns & smtp validation script recently ...
page - {URL Removed}
source - {URL Removed}
...and I was just wondering if anyone knew of a vbscript version of this? Also, I'm no expert in jscript but do you think I'd be able to convert this to vbscript?
Also, if I was to add this script into a vbscript page would my scripts clash? I'm guessing yes but just in case...?
[edited by: Ocean10000 at 1:28 am (utc) on Jan. 26, 2010]
[edit reason] Removed URLS [/edit]
ASP to vbscript is pretty straight forward. Just copy to a vbscript, and replace a few statements like response.write with something else.
(1) if statements do not require {} in vb, they use If (..) than Else End If structure.
(2) Strings in vbscript start with a double quote " and not a single quote '.
(3) Comments in vb are done with ', where as in jscript they are done with a double slash //.
(4) Functions end with "End Function" in vbscript and not "}" as in jscript.
There are more tweaks but those are the ones I can think of off the top of my head.