Re: Updating an open page with PHP
| From: | Brent Baisley | Date: | Tue, 14 Jun 2005 20:37:11 +0000 |
| Subject: | Re: Updating an open page with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216974@lists.php.net to get a copy of this message | ||
Not PHP exactly, but javascript can talk to the server and update the page without refreshing the page. What you are looking for is called AJAX, or as it is know technically XMLHttpRequest. The technology has been around for a while, but it has only recently taken off when Google used it in gmail. I recently started using it and it is actually fairly easy and very powerful. You do have to know javascript, but PHP just sees it as another page request, so you don't need to do anything special on the server.
On Jun 14, 2005, at 9:15 AM, abrea wrote:
Dear list, Is there a way in PHP to update information on an open web page (e.g. to say "Hello, user, I have just logged in"), without the user having to refresh the page himself each time? Thank you Alberto Brea -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577