Page 1 of 1

PHP domain validation - is it possible in JS or VBS.

Posted: Fri Aug 06, 2004 3:15 pm
by Joe
I made a simple script in PHP which allows me to check if a domain is valid. I was curious though if anyone knew the possibility's of this being developed in javascript or vbscript?

...

Posted: Fri Aug 06, 2004 3:22 pm
by Calimero
Do you care to share this script - even trough PM

:D

Posted: Fri Aug 06, 2004 3:23 pm
by Joe
Which script is that, the php one I suppose. It is very easily done with about 4 lines of code. If you like I will send to you! Just give me a shout ;)

Posted: Fri Aug 06, 2004 3:34 pm
by feyd
it should be possible with vbscript, but I wouldn't know where to start. Never bothered to learn it, never will.

Posted: Fri Aug 06, 2004 3:35 pm
by Joe
Yes feyd, VBScript is rubbish I personally think, however I would love to try it with JS. :D

Posted: Fri Aug 06, 2004 3:39 pm
by feyd
JS as far as I've seen, doesn't have the system resources/hooks to make those kind of calls by itself. Although you could dynamically create an invisible iframe with onload hooks so you can read and "discover" the information returned by the whois or whatever you want to query against.

Posted: Fri Aug 06, 2004 3:43 pm
by Joe
Ah I see, Well I guess thats something for me to do tonight :D Thanks

Posted: Fri Aug 06, 2004 3:44 pm
by nigma
What's the rubbish in vbscript?

I've used it a few times to create neat little administration / setup scripts for winxp boxes, the scripts not only took very little time to make and saved a bunch of time in the end. In my opinion it can be quite useful.

Posted: Fri Aug 06, 2004 3:46 pm
by Joe
Well I personally think VBScript is pathetic, lol. We all have our personal opinions nigma!

Posted: Fri Aug 06, 2004 3:49 pm
by feyd
true, vbscript can be useful.. but sadly, it's used for crap/jacking more often.. remember LoveBug? ;)

I'm not a fan of VB mostly because of it's memory consumption and executable bloat compared to other languages.

Posted: Fri Aug 06, 2004 3:50 pm
by Joe
Yes indeed feyd. I still have to say what I have always thought, VBScript is pathetic :(