Hi Pete,
I wouldn't have thought it, but it works.
Who said php couldn't detect javascript?


----- Original Message ----- 
From: "Pete" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 02, 2005 1:21 PM
Subject: Re: [php-list] Can XMLHttpRequest work with PHP + webserver on Linux


> In message <[EMAIL PROTECTED]>, Bob
> <[EMAIL PROTECTED]> writes
>>Hi Pete,
>> 2) How do I check whether it is on or off?
>>
>>You could use the old perl image trick with noscript tags:-
>><noscript>
>><img src="noscript.php" width="1" height="1">
>></noscript>
>>
>>Not sure what you'd put in noscript.php, but it does call it.
>>Maybe save a file or something.
> 
> hmmm... interesting....  
> 
> How about
> 
> $scripton=1;
> 
> <noscript>
> $scripton=0;
> </noscript>
> 
> if ($scripton)...
> 
> 
> -- 
> Pete Clark



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to