ping in chrooted apache

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • steven mestdagh

    #1

    ping in chrooted apache

    hi,

    is there any way to check whether a host is up in php, other than
    using exec('ping... ) ?
    i am running apache in a chroot environment, so the www user has no
    access to /sbin/ping.

    regards,
    steven.
  • CountScubula

    #2
    Re: ping in chrooted apache

    "steven mestdagh" <steven.mestdag h@removethis.es at.kuleuven.ac. be> wrote in
    message news:1073987190 .317630@seven.k ulnet.kuleuven. ac.be...[color=blue]
    > hi,
    >
    > is there any way to check whether a host is up in php, other than
    > using exec('ping... ) ?
    > i am running apache in a chroot environment, so the www user has no
    > access to /sbin/ping.
    >
    > regards,
    > steven.[/color]

    try looking at:


    you may need to modify it

    --
    Mike Bradley
    http://www.gzentools.com -- free online php tools


    Comment

    • steven mestdagh

      #3
      Re: ping in chrooted apache

      > > is there any way to check whether a host is up in php, other than[color=blue][color=green]
      > > using exec('ping... ) ?
      > > i am running apache in a chroot environment, so the www user has no
      > > access to /sbin/ping.[/color]
      >
      > try looking at:
      > http://www-3.gzentools.com/snippetvi...=fuzzyping.php
      >
      > you may need to modify it[/color]

      thanks, works nicely!

      steven.

      Comment

      Working...