Array help please
| From: | Dave Carrera | Date: | Sun, 19 Jan 2003 21:21:13 +0000 |
| Subject: | Array help please | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24954@lists.php.net to get a copy of this message | ||
Hi All
I am trying to create a tld lookup script for uk and main us domains.
I have success by creating multiple function hardcode the whois server
and tld but I would love to be able to make an array of tlds then step
through the array to check availability of domain.
Example
$arr = array(‘.co.uk’,’.com’,’.net’,’.me.uk’);
How do I step though one at a time and give a viewable result?
I know I have to check the value of the array and assign the relevant
whois server. How do I do that?
Any help, guidance, code examples will be very much appreciated.
Thank you in advance as always
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003