Popup screen for PHP and MySQL

I have a web ticketing application written in PHP and MySQL. I need something like a balloon window or a gmail browser alert for Chrome to notify users of some events. For example, when a new ticket arrives to users, it can be notified of this without having to see the application page.

Is there anything for this that can work with PHP and MySQL?

+4
source share
3 answers

You want to create a chrome extension to display notifications about your tickets on your desktop. To do this, you will need PHP and MySQL for the backend AND the actual Chrome extension written in JavaScript and HTML. You can write a notification window using JavaScript and HTML, packed inside the Chrome extension.

Here is a link showing how to create a basic extension , and here is another option for desktop notification . Keep in mind that desktop notifications in Chrome appear outside the browser. However, if you are familiar with JavaScript and HTML, you can achieve what you need.

Keep us informed of your progress and / or if you have problems.

+1
source

For this, you have no choice but to create an add-on / extension for Firefox and / or Chrome. PHP and MySql are server technologies, not the client side.

What you need to do is an add-in that will listen to an event either on the web page itself or directly on the server using the Ajax function.

Check out the Add-On SDK for Firefox

+1
source

I never thought about this, but, as I saw before, forums use this method to warn you that you are not a registered user. This is just one div and css class defined using the fixed position.

Hope this helps you! هموطن!

0
source

Source: https://habr.com/ru/post/1388007/


All Articles