[SlugBug] Dynamic text and PHP

Jonathan jonathan at sirtis.org.uk
Tue Oct 28 11:41:52 GMT 2003


Hi all,

Bear with me on this one, I'm not quite sure how to explain this nice 
and concisely, but I'll give it a go.

I'm currently writing a few PHP scripts to help with some server audits. 
Currently, the main script takes a couple of minutes to run. It's 
essentially doing a bunch of gethostbyname calls and storing the results 
in an array for processing later.

What I'd like to do, if possible, is something like:

print $table_headings
foreach (name in list) {
     process name
     put name into relevant column
     update table with new entry
     }
print $table_end

So in effect, each hostname is added to the relevant column in my table 
as it goes along.

Could someone point me in the right direction or suggest a better google 
search than "dynamic text" or "refresh text" please?

Thank you muchly!

Regards,

Jonathan




More information about the SlugBug mailing list