[PHP] Redirecting with PHP if JS is disabled?

2002-02-23 Thread Andy

Hi there,

I am wondering if it is anyhow possible to check if the client has activated
JavaScript and in case he has not to redirect him to another page?

The thing is, as soon as the noscipt tap detects it, php is already parsed
and withouth JS I don not see a possibility to redirect him.

Does anybody have an idea on that?

Thanx andy





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Redirecting with PHP if JS is disabled?

2002-02-23 Thread Bogdan Stancescu

Why don't you do it the other way round: redirect if JS *is* available?

Bogdan

Andy wrote:

Hi there,

I am wondering if it is anyhow possible to check if the client has activated
JavaScript and in case he has not to redirect him to another page?

The thing is, as soon as the noscipt tap detects it, php is already parsed
and withouth JS I don not see a possibility to redirect him.

Does anybody have an idea on that?

Thanx andy









-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php