want to work it this way :– user go to site click on button t…

want to work it this way :

– user go to site click on button torn on Push Notification
– after user do it Js code send to class a hash of user and info about which gateway should Push use (SAFARI, CHROME etc.)
– Php class have method to send Push to each HASH It should work this way :

1. I go to site when I register to get Push notification,
2. I go to admin page where I see persons who make a registration to get Push,
3. From Admin area I can send any text to any person who register

September 20, 2017