XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:15 pm
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?
Calimero
Forum Contributor
Posts: 310 Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way
Post
by Calimero » Fri Aug 06, 2004 3:22 pm
Do you care to share this script - even trough PM
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:23 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Aug 06, 2004 3:34 pm
it should be possible with vbscript, but I wouldn't know where to start. Never bothered to learn it, never will.
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:35 pm
Yes feyd, VBScript is rubbish I personally think, however I would love to try it with JS.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Aug 06, 2004 3:39 pm
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.
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:43 pm
Ah I see, Well I guess thats something for me to do tonight
Thanks
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Fri Aug 06, 2004 3:44 pm
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.
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:46 pm
Well I personally think VBScript is pathetic, lol. We all have our personal opinions nigma!
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Aug 06, 2004 3:49 pm
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.
Last edited by
feyd on Fri Aug 06, 2004 3:50 pm, edited 1 time in total.
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Fri Aug 06, 2004 3:50 pm
Yes indeed feyd. I still have to say what I have always thought, VBScript is pathetic