Re: [PHP] PHP ping and exec() hangs apache

2009-05-28 Thread Ashley Sheridan
On Thu, 2009-05-28 at 10:33 +0200, Kamil Walas wrote: > Ashley Sheridan pisze: > > On Wed, 2009-05-27 at 10:25 +0200, Kamil Walas wrote: > >> Hi, > >> > >> I stuck with strange error. I have following code: > >> >> echo 'BEFORE'; > >> echo exec("ping -c1 -w1 1.1.25.38"); > >>

Re: [PHP] PHP ping and exec() hangs apache

2009-05-28 Thread Kamil Walas
Ashley Sheridan pisze: > On Wed, 2009-05-27 at 10:25 +0200, Kamil Walas wrote: >> Hi, >> >> I stuck with strange error. I have following code: >> > echo 'BEFORE'; >> echo exec("ping -c1 -w1 1.1.25.38"); >> echo 'AFTER'; >> ?> >> >> Address doesn't exist. When execute script from com

Re: [PHP] PHP ping and exec() hangs apache

2009-05-27 Thread Ashley Sheridan
On Wed, 2009-05-27 at 10:25 +0200, Kamil Walas wrote: > Hi, > > I stuck with strange error. I have following code: > echo 'BEFORE'; > echo exec("ping -c1 -w1 1.1.25.38"); > echo 'AFTER'; > ?> > > Address doesn't exist. When execute script from command line everything > works fine

[PHP] PHP ping and exec() hangs apache

2009-05-27 Thread Kamil Walas
Hi, I stuck with strange error. I have following code: Address doesn't exist. When execute script from command line everything works fine. But when I go to the file by Firefox it hangs out and apache need to be restart. This is a Virtual Server with PHP Version 5.2.6-pl222-gentoo. When addre

Re: [PHP] Ping : Chris Boget

2005-09-02 Thread John Nichel
John Nichel wrote: How are you weathering the storm? I hope all is well there. Just heard that Chris is safe. Don't know where he is as of yet, but he did leave before the storm. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://ww

[PHP] Ping : Chris Boget

2005-08-29 Thread John Nichel
How are you weathering the storm? I hope all is well there. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Ping: list admins

2003-07-26 Thread Curt Zirzow
It seems every time I post to the list now I keep getting bounced message back from someone on the list: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) Will he get unsubed automatically or do you have to initiate the change? If its the latter please do so ASAP.. Thanks Muc

Re: [PHP] ping...

2002-12-13 Thread Jason Wong
On Friday 13 December 2002 18:02, Brian McGarvie wrote: > I can exec ping OK... but I need a way to ping and basically give me a OK > or Not OK... any ideas? So you have something like: $result = `ping -c 3 www.example.com`; echo $result; Then you have to parse $result to work out whether

[PHP] ping...

2002-12-13 Thread Brian McGarvie
I can exec ping OK... but I need a way to ping and basically give me a OK or Not OK... any ideas? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.427 / Virus Database: 240 - Release Date: 06/12/02 -- PHP General Mailing List (

[PHP] Ping on Win32

2002-12-04 Thread Christopher J. Crane
I am trying to get a script to work. The basic idea is to go into a database and grab some IP addresses for my LAN. Then for each one ping it using the exec command 1 time. If it is successful print output in green and if it is not, print output in red. This is being done on a Win32 system. The pin

RE: [PHP] ping

2002-03-27 Thread Chris Grigor
6:04 PM To: Chris Grigor; Php-General-List (E-mail) Subject: RE: [PHP] ping Hi CHris! > has anyone written a script to check if a host is alive - > like a ping script ? Something like this? BTW, any hints to weak or wrong code are welcome, I'm not this experienced with PHP ;

RE: [PHP] ping

2002-03-27 Thread SHEETS,JASON (Non-HP-Boise,ex1)
Hi Chris, Have a look at http://www.hotscripts.com/PHP/Scripts_and_Programs/Networking_Tools/Ping/ There are 3 ping scripts there. Jason -Original Message- From: Chris Grigor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 8:48 AM To: Php-General-List (E-mail) Subject: [PHP

RE: [PHP] ping

2002-03-27 Thread Christoph Starkmann
Hi CHris! > has anyone written a script to check if a host is alive - > like a ping script ? Something like this? BTW, any hints to weak or wrong code are welcome, I'm not this experienced with PHP ;) Cheers, Kiko P.S.: There are some formatting strings and some variables stored in constants.

[PHP] ping

2002-03-27 Thread Chris Grigor
Hey all has anyone written a script to check if a host is alive - like a ping script ? Chris Grigor 2nd Line Support Tel : +27 11 340 7390 Fax : +27 11 340 7345 E-Mail : [EMAIL PROTECTED] ---

Re: [PHP] Ping

2001-01-10 Thread Brad Hubbard
okies enabled (php.ini). Anyone is welcome to use these BTW, just drop me a line if you do (so I can feel I'm "making a difference" ;) Cheers, Brad - Original Message - From: "Tshering Norbu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Janu

Re: [PHP] Ping

2001-01-10 Thread DaViper
4.0.0 > > >- Original Message - >From: DaViper <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, January 10, 2001 3:07 PM >Subject: Re: [PHP] Ping > > > > > > Code to show ping results on a webpage included in the 2 -files ping.p

Re: [PHP] Ping

2001-01-10 Thread Tshering Norbu
Hello DaViper, Where do I get those 2 files from? The PHP I am running is 4.0.0 - Original Message - From: DaViper <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 3:07 PM Subject: Re: [PHP] Ping > > Code to show ping results on a webpage

Re: [PHP] Ping

2001-01-10 Thread DaViper
Code to show ping results on a webpage included in the 2 -files ping.php and output.php Greets, DaViper Maybe this can help you At 15:03 10/01/2001 +0600, you wrote: >Dear list, >I have this proposal: I work in ISP where we have a web site. On our web >site, we would like to ping, say 3 oth

[PHP] Ping

2001-01-10 Thread Tshering Norbu
Dear list, I have this proposal: I work in ISP where we have a web site. On our web site, we would like to ping, say 3 other distant web sites at every interval of 10 minutes. We would like to have the result like say " The internet is down" message displayed on our homepage if the PING doesn't