Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ereignis durch Tastendruck

Empfohlene Antworten

hallo alle zusammen,

Kann mir vielleicht jemand sagen, ob es bei PHP möglich ist, ein Ereignis durch einen Tastendruck auszulösen?

(z.B. wen jemand "a" drückt, erscheint ein Text)

Wenn es möglich ist, bitte sagt mir auch, wie das geht :D

Danke im Voraus,

leech

Da PHP eine serverseitige Sprache ist, die schon längst ausgeführt wurde, wenn man eine Seite im Browser zu sehen bekommt, ist das leider nicht möglich! Die Seite, die man zu sehen bekommt, ist in dem Moment ja schon statisch - die eigentliche Berechnung per PHP hat ja schon stattgefunden.

Mit JavaScript und Konsorten sollte das allerdings machbar sein. Dazu guckst Du am besten mal bei http://selfhtml.teamone.de vorbei - da müßte stehen, wie's geht!

Danke,

Werd' mir das dann mal anschauen, auch wenn ich Javascript nicht so gerne benutze :(

leech

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.