Re: PHP/HTML Question
| From: | Curt Zirzow | Date: | Thu, 17 Jul 2003 15:34:47 +0000 |
| Subject: | Re: PHP/HTML Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155636@lists.php.net to get a copy of this message | ||
Nick Couchman <nick@seakr.com> wrote:
> I have a quick question about PHP and HTML. I have a page that is
> supposed to update the "status" of hosts by pinging each host and
> displaying the result. I would like to get the page to the point that I
> can have something (either PHP or JavaScript or the like) ping every 10
> seconds or so and update the page (I have text boxes for the status)
> WITHOUT reloading it. Does anyone know if this is possible with PHP?
> Or does anyone know of another way I could do it? JavaScript (at least
> any of it that I've seen) doesn't have a function to run a command on
> the server (which makes sense, since it is mainly client-side), and I
> don't know about CGI.
kinda need more details. but you can most likely do it with javascript
to update the textbox.
Curt.
--