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
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?
Technically, I don't believe so, but I can think of a way you might be
able to fake it. If you have a browser
[snip]
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?
[/snip]
No. PHP is server-side, you are looking for something client-side, like
JavaScript.
--
PHP
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
PHP is server-side, you need a java applet to do what you are asking.
Yes, but then the user would always have to reload the imbedded frame.
-Original Message-
From: Warren Vail [EMAIL PROTECTED]
To: 'abrea' [EMAIL PROTECTED], 'PHP General List'
php-general@lists.php.net
Date: Tue, 14 Jun 2005 10:31:29 -0700
Subject: RE: [PHP] Updating an open page
[snip]
Yes, but then the user would always have to reload the imbedded frame.
[/snip]
Actually you could use meta-refresh for the imbedded frame. I have done
something similar for a notes update in a ticketing system. Also, you
could start an endless loop in the imbedded frame. Here is an example
.
-Original Message-
From: Warren Vail [EMAIL PROTECTED]
To: 'abrea' [EMAIL PROTECTED], 'PHP General List'
php-general@lists.php.net
Date: Tue, 14 Jun 2005 10:31:29 -0700
Subject: RE: [PHP] Updating an open page with PHP
Is there a way in PHP to update information on an open web
page
: [PHP] Updating an open page with PHP
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?
Technically, I don't believe so, but I can think of a way
you
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
9 matches
Mail list logo