By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

function key mapping...

P: n/a
hello world!

is it possible to capture function keys on a php page? someone did
mention to me abouot ncurses but i thought it was not available for
windows (on which i'm trying a few things out).

if it is possible to trap the function keys, could someone help me and
tell me more (or point me at the right direction)?

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
r6****@gmail.com wrote:
hello world!

is it possible to capture function keys on a php page? someone did
mention to me abouot ncurses but i thought it was not available for
windows (on which i'm trying a few things out).

if it is possible to trap the function keys, could someone help me and
tell me more (or point me at the right direction)?


That would be client site, ie javascript. PHP is server site. ncurses
is only for writing console scripts.

I know in mozilla, you can use:

<button label="Apply instantly" accesskey="A" />

And it will automatically assign that to ALT-A (or CTRL-A on a mac)...
but not sure if IE uses or has the same thing (I'd hazard a guess at not).

--
Jason Morehouse
Vendorama - The evolution of e-commerce
http://www.vendorama.com
Jul 17 '05 #2

P: n/a
r6****@gmail.com wrote:
is it possible to capture function keys on a php page?
No, not on a php page served to a HTTP client.
Maybe JavaScript (or some other *client* thing) can do that; try asking
in a javascript newsgroup.
someone did
mention to me abouot ncurses but i thought it was not available for
windows (on which i'm trying a few things out).


It's available for Cygwin ( http://www.cygwin.com/ )

--
Mail to my "From:" address is readable by all at http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.