You can also write a simple test script...
Code:
<pre>
<?php
echo shell_exec('ping http://p2p.wrox.com');
?>
</pre>
-or-
Code:
<pre>
<?php
echo `ping http://p2p.wrox.com`;
?>
</pre>
Using the backtick operator is identical to the shell_exec function.
That's the Windows ping. You'll see exactly the same output here as you would by pinging the domain at the command line.
Regards,
Rich
--
[
http://www.smilingsouls.net]
[
http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail