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:
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).
Comments
Post a Comment