* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
> Jonesy <mailto:[EMAIL PROTECTED]>
>     on Monday, May 24, 2004 2:21 PM said:
> 
> > WFM:
> >    |$ ping ibm.com
> >    |PING ibm.com (129.42.18.99) 56(84) bytes of data.
> >    :
> 
> wow. that's the weirdest looking php i've ever seen. is that a beta or
> something?

what ya talking about?

$ cat ping
#!/usr/local/bin/php
<?php
$hostname = $argv[1];
$ip = gethostbyname($hostname);
echo "PING $hostname ($ip) 56(84) bytes of data\n"; 


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to