View Single Post
Old 02-12-2013, 04:18 PM   PM User | #3
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,513
Thanks: 45
Thanked 439 Times in 428 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Any server that pushes something to its client needs a constant connection. Then its down to the protocol being used. If its just regular pop then the client will poll on a regular basis.

AFAIK, there isn't a 'push email' type of protocol.

How php 5.3 will support this is a vague question. If you're running a php pop daemon, then it would be down to your own code to support this. PHP doesn't generally act as a server in its own right (although it has the ability via your own code) so unless PHP is planning to offer this as a class or library I don't really think it's going to be a new feature.
__________________
Please wrap your code in [php] tags. It is a sticky topic and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote