B
B
boris tyrepharm2018-03-09 16:25:27
Windows
boris tyrepharm, 2018-03-09 16:25:27

How to create a Windows toast notification based on data from a web server?

The situation is as follows: there is an online store website, after placing an order, an event occurs and using PHP, data (order number, delivery method, payment method) is generated into a separate file.
How can I display a notification about a new order in a pop-up window on the manager's desktop (Windows)?
5aa28af54f227122141713.png
Email / browser notifications are not suitable.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
Boris Korobkov, 2018-03-09
@BorisKorobkov

https://habrahabr.ru/post/183630/
If
then the only option is to write your own application and persuade the user to install and run this application.

S
Saboteur, 2018-03-09
@saboteur_kiev

It is required to make just an application, since the browser is not installed on the computers of managers.

1. Well, make your own application that will receive information from your server and notify users. What is the actual question?
2. What does "Browser not installed on managers' computers" mean on Windows? The browser is built into Windows by default.

T
twobomb, 2018-03-09
@twobomb

Well, what's the problem? Take for example C# and write. Make a page in PHP that will give the time of the last modification of the file, and the application stores the time of the last modification of the file, then every 30 seconds, let's say, it will make a request to this page and as soon as the time does not match, then make a request to another page, passing it the time from the application and which gives out data on the last orders over time more than it is transferred. Then just output messages. In the first file, instead of time, you can use, for example, a file hash or something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question