Re: [PHP] gethostbyname() time issues

2005-07-28 Thread Kristen G. Thorson
Philip Hallstrom wrote: $diff = number_format(((substr($timeend,0,9)) + (substr($timeend,-10)) - (substr($timestart,0,9)) - (substr($timestart,-10))),4); This just looks wrong to me... at the very least shouldn't it be: (x + x) - (x + x) (x + y) - (w + z) = (x + y) + (-w - z) = x + y - w

Re: [PHP] gethostbyname() time issues

2005-07-28 Thread Philip Hallstrom
The following script: http://www.imakenews.com/progresspsdn/e_rss.aspx', 'http://rssnewsapps.ziffdavis.com/eweekdeveloper.xml', 'http://itpapers.zdnet.com/xml/RSS-239.xml', 'http://rssnewsapps.ziffdavis.com/eweeklinux.xml' ); foreach( $url_arr