Is it possible to include a php file in a <noscript> tag ?……to show if javascript is disabled?
Is it possible to include a php file in a <noscript> tag ?……to show
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is not possible for your server-side PHP code to find out whether Javascript is disabled.
If you put PHP code inside a
<noscript>tag, it will always execute, whether Javascript is enabled or not. However, the code’s output will only be visible if Javascript is disabled.You might want to use Javascript to redirect to a separate page.