Jump to content


Photo

question about auto refresh


  • Please log in to reply
12 replies to this topic

#1 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 11:23 AM

hi everybody,
I have a question: Is it possible to auto refresh site when someone(user) posted?
I don't need your script, I'll try to write it myself

#2 techiefreak05

techiefreak05
  • Members
  • PipPipPip
  • Advanced Member
  • 494 posts
  • LocationER, MN

Posted 16 August 2006 - 12:20 PM

Yes, in your post code, put this:

<meta http-equiv="refresh" content="0;url=http://www.yoursite.com">
the number equals how many seconds to wait before refresh, 0 equals instantly
Link shortener with advanced, detailed statistics:

http://tyny.us/

#3 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 16 August 2006 - 12:56 PM

depends on what you mean by user posting. If it's the same user who just posted, yes, as above.

But if you mean refresh when another user posts, no. Not with PHP alone.

#4 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 03:19 PM

depends on what you mean by user posting. If it's the same user who just posted, yes, as above.

But if you mean refresh when another user posts, no. Not with PHP alone.

yes I mean refresh when other user posts and my page is refreshed. If not php, what else? Thanks for your answers.
I don't need your script, I'll try to write it myself

#5 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 03:28 PM

or can I notify users that someone has posted? ???
I don't need your script, I'll try to write it myself

#6 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 16 August 2006 - 03:34 PM

You could look into Ajax.

#7 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 03:35 PM

can u give me link? thanks.
I don't need your script, I'll try to write it myself

#8 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 16 August 2006 - 03:44 PM

Here:

http://www.ajaxfreak...torials/2/0.php


#9 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 03:48 PM

Here:

http://www.ajaxfreak...torials/2/0.php

ok, thanks a lot ;)
I don't need your script, I'll try to write it myself

#10 brown2005

brown2005
  • Members
  • PipPipPip
  • Advanced Member
  • 943 posts

Posted 16 August 2006 - 03:50 PM

do u have bandwidth limits...?

#11 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 07:37 PM

do u have bandwidth limits...?

sorry but... what do u mean?
I don't need your script, I'll try to write it myself

#12 ItsWesYo

ItsWesYo
  • Members
  • PipPipPip
  • Advanced Member
  • 110 posts

Posted 16 August 2006 - 07:45 PM

Like. Whats your bandwidth limit? 1 gb, etc?

#13 Gruzin

Gruzin
  • Members
  • PipPipPip
  • Advanced Member
  • 448 posts
  • LocationGeorgia

Posted 16 August 2006 - 09:38 PM

no not so big... for what do I need that?
I don't need your script, I'll try to write it myself




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users