How to detect key being pressed and how to send "impulse" to PHP file about which key has been pressed?

Simply Googling "PHP key detection", doesn't deliver reliable resources.

Offcourse I could use JavaScript, but I wouldn't be able to get this to PHP, since, they're on opposite sides.

Recommended Answers

All 2 Replies

Offcourse I could use JavaScript, but I wouldn't be able to get this to PHP

That's where AJAX comes in.

Is it solved because you found a solution? If so, care to share?

Not that I actually found answer, I found another method to do something, so I don't need this anymore.

Kind of twisted

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.