Forum Moderators: coopster
However the contact form (that works with html) is not allowing me to input @ sign with a UK keyboard and recognises it as " like a US keyboard in firefox but works with IE. Is there a way to detect what keyboard a user has and adjust settings? or any known fix for this with firefox?
I found the PHP script below posted in this forum a few years ago is there a way I can edit this for what I want to achieve?
<?phpRecognise users
if (strpos($_SERVER["HTTP_ACCEPT_LANGUAGE"], 'en-gb')!== FALSE) {
include 'gb-aff-code.inc'; // include for GB customers
}
else {
include 'us-aff-code.inc'; // include for the others
}?>
Many thanks for any help I am new to PHP so please explain the basics if you can help!
Cheers
helen
The code you posted should do what you want, however, I'm not sure it's entirely necessary. If I understand you correctly, you cannot key in '@' with certain keyboards in firefox? I have not heard of this before, but maybe you want to post in the html and browsers [webmasterworld.com] forum to see if there is a fix to the problem.
Best of luck!