note 85445 added to language.variables.predefined

From: Date: Sun, 31 Aug 2008 18:18:15 +0000
Subject: note 85445 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-144027@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 90.195.29.79 ---- Manual Page -- http://www.php.net/manual/en/language.variables.predefined.php Edit -- https://master.php.net/note/edit/85445 Del: integrated -- https://master.php.net/note/delete/85445/integrated Del: useless -- https://master.php.net/note/delete/85445/useless Del: bad code -- https://master.php.net/note/delete/85445/bad+code Del: spam -- https://master.php.net/note/delete/85445/spam Del: non-english -- https://master.php.net/note/delete/85445/non-english Del: in docs -- https://master.php.net/note/delete/85445/in+docs Del: other reasons-- https://master.php.net/note/delete/85445 Reject -- https://master.php.net/note/reject/85445 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144027) next »