note 85445 deleted from language.variables.predefined by aharvey

From: Date: Tue, 22 Jun 2010 12:21:09 +0000
Subject: note 85445 deleted from language.variables.predefined by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170374@lists.php.net to get a copy of this message
Note Submitter: nfo[nospam] at safernetworks dot net ---- It is probably the most common question I have found so far how to detect browser width and height properties while using mainly PHP. If it was not for this and a few similar small details missing, for various technical reasons, I would consider PHP absolutely complete as a scripting language. I have therefore created my own fix for this, reusable for all using the much suggested Javascript cookie setting, combined with reading cookies in PHP. It also forces a reload of the page so that the user don't have to re-design the script to use it. You can either download it or see it in action at http://www.safernetworks.net/whcookie/ I hope this will help many other newbies, without the need to relearn javascript to make it work. This should be cross browser compatible with all major browsers. --- code outlined was removed as the note field did not allow me to post it.

« previous php.notes (#170374) next »