Click to See Complete Forum and Search --> : possible ?
barantamer
07-22-2007, 04:35 PM
i would like to make something different..
i have a website , and i would like to access to my admin page by pressing
for example
b+y+a+ctrl
is that possible
?
NogDog
07-22-2007, 06:15 PM
Not by PHP, since it's running on the server and has no idea what keys you are pressing on your keyboard. You might be able to do it via JavaScript.
cluettr
07-22-2007, 09:20 PM
I agree with NogDog... you need a client side scripting laguage like javascript to capture/observe keystrokes.
barantamer
07-24-2007, 03:45 PM
thanks , i ll look into that
jackoconnell
07-26-2007, 08:15 PM
Try Macros
amitkgupta28
07-27-2007, 01:19 AM
Try Javascript
kvirri
07-27-2007, 01:24 AM
just remember the link to the admin page URL will be available to anyone, so if you're trying to 'hide' away the admin page this way, don't. or at least, protect it with a password.
NogDog
07-27-2007, 01:29 AM
You could use a link with an accesskey attribute (http://www.w3.org/TR/html4/interact/forms.html#adef-accesskey):
<p><a href='admin_page.php' accesskey='A'>Admin Page</a></p>
On Windows Vista using Firefox, the link is activated via ALT-Shift-A.