Guys,
Is there any way that I can Detect if Javascript is ON thru server side using PHP?
Please lend me your codes.. or any tips! thanks and Godbless.
Raymonn
DETECT JS USING PHP (SERVER SIDE)
Moderator: General Moderators
Re: DETECT JS USING PHP (SERVER SIDE)
Can't be done with PHP. There are a few ways to test though ... one is to set a JS variable in a form (or a cookie) that you check when the user clicks something, or forward the user to a form that automatically submits itself if JS is enabled.
Re: DETECT JS USING PHP (SERVER SIDE)
onion2k wrote:Can't be done with PHP. There are a few ways to test though ... one is to set a JS variable in a form (or a cookie) that you check when the user clicks something, or forward the user to a form that automatically submits itself if JS is enabled.
Re: DETECT JS USING PHP (SERVER SIDE)
I have some code which detects javascript with php.
It can be found at
http://snippets.bluejon.co.uk/
bluejon
It can be found at
http://snippets.bluejon.co.uk/
bluejon