Send message to another PHP file -


is possible have 1 php file send "message" specific users on php file?

note "message" needs able received php file running, calling other files doesn't make difference. image below demonstrates want do:

enter image description here

in example, user 1 calls "send.php", subsequently sends message "receive.php" instances of users 1,2, , 4. possible accomplish?

additional information

i cannot log messages in central location file or database because end querying messages once every 100 ms, overload database/filesystem. need instantaneous.

additionally, cannot use sessions or cookies because mentioned message needs sent several users. finally, receiving php file doesn't terminate until user leaves page (it's html5 eventsource file).

you can persist data across pages using sessions or database.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -