Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http bidirectionality by means of php ?

Status
Not open for further replies.

gapla

Programmer
Dec 15, 2003
37
ES
Is it possible that a page have just updated warn its copy on a known ip to be refreshed?
 
I hate giving this answer as I'm almost always proven wrong.... but no, not really.

You can do all sorts of tricks with javascript to query the server in the background every so many seconds and find out if you should display the warning.... but there's no way for the server to just alert a client like that with HTTP and PHP.

You can start writing fancier applications which just use the browser as a GUI interface, but communicate with different protocols which will accomplish what you want however.
 
0nce a page has been loaded by a client the conection between server and client is closed. I had thought of an alternative solution to applets or sockets. So new data on server is downloaded by the client by refreshing html wherever server command it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top