F
Friday
John H said:I have not used Array as such. How I do it is:
Dim sIPAddress(8) as String
I would use 8 or some other amount that I would not exceed. I then use
another function to fill it from an XML or other "formated" file, passing the
array, i.e.,
brtn = FillBannedAddresses(sIPAddress())
Then declare the other function as
public function FillBannedAddresses(ByRef sIPAddress() as string) as Boolean
I then return a true if filled (false if a problem)
In this other function, I would open the file, parse it and load the
addresses into the passed array (byref).
I am leaving work now or I would give you some more "pointers."
John H W
Thanks John.
Interesting, but seems pretty heavy on the CPU.
Still...
I'm curious. Where and how would I format the "list" to parse the known
IPs?
I don't need to learn XML too do I?
Gosh I remember when a little Perl (YUCK!) and a good knowledge of PHP
and MySQL would carry the day.
8-P
Enquiring minds want to know.
Thanks Againm
Friday
--
#####################################
"The people cannot be all, & always well informed. The part which is wrong will
be discontented in proportion to the importance of the facts they misconceive.
If they remain quiet under such misconceptions it is a lethargy, the forerunner
of death to the public liberty. What country before ever existed a century & a
half without a rebellion? & what country can preserve it's liberties if their
rulers are not warned from time to time that their people preserve the spirit
of resistance? Let them take arms... The tree of liberty must be refreshed from
time to time with the blood of patriots & tyrants"
-- Thomas Jefferson
#####################################