just a silly thought
1)say index.php is the one you want to test.
<?php if ($tested==1) { ?>
<script language=javascript>
document.location.href="ifjavascriptworking.php?enabled=Yes";
</script>
Pleaes enable your browser running javascript.
<?php } ?>
(note:
if javascript enabled, the user will be redirected to ifjavascriptworking.php and will not see the following statement.
)
2)
in the page "ifjavascriptworking.php" gather the information and redirect the page back to previous page or anywhere you want.
<script language=javascript>
document.location.href="index.php?tested=1"
</script>
(note:
and this time the parameter "tested" is set to 1, so the javascript and its enable note in index.php will not be executed again to bring you into a infinte loop.)
hui