Jump to content

PHP inside noscript element


brainstem

Recommended Posts

php is parsed in the noscript element on the server side and can insert values in the noscript which will just be literal values when they are recieved browser side in the noscript tag:
[code]<noscript>Hello <?php echo $username; ?>, you need to enable javascript to use this web site.</noscript>[/code]
The noscript HTML tag only applies to script processed on the client-side - it would have no effect on PHP code that is processed on the server side.

Not sure what you mean by "when the browser sends the -noscript- signal". To my knowledge browsers don't send any information like that to the server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.