or u can use this method from JS
You could refresh the page in various ways
1- make a rerequest to the server to give u the same page again: using
the PHP Header function.
2-using the html Header refresh tag
3-Java Script to reload the document
Since the 1st and 2nd methods are discussed in the
--- welly limston <[EMAIL PROTECTED]> wrote:
> how to make my page refresh automaticly?
You can use a Refresh header:
Refresh: 3; url=http://example.org/
> Can i use PHP function?
http://www.php.net/header
Hope that helps.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'R
As the others said, this isn't a function of php, php is a server-side
script and a refresh is on the client side. A meta-refresh tag is
fine depending on how reliable you want your refresh to be as it'll
stop working after a day or so. If you need it to refresh forever
you'll need to use javascr
Try header();
On 30 Sep 2004, at 14:09, welly limston wrote:
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
--
PHP General Mailing List (http://www.php.net
Jay Blanchard wrote:
[snip]
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
[/snip]
You cannot do it with PHP, you use a meta refresh tag
(http://www.w3.org)
Or header refresh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
[snip]
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
[/snip]
You cannot do it with PHP, you use a meta refresh tag
(http://www.w3.org)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
how to make my page refresh automaticly?
Can i use PHP function?
what is it?
-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
7 matches
Mail list logo