Re: Get page height?

From: Date: Wed, 16 May 2001 21:04:35 +0000
Subject: Re: Get page height?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53120@lists.php.net to get a copy of this message
the screen dimensions are not sent to the server, a sniffer is a handy thing, you will be able to see all the headers, and see that one is not in there. plus to compound the fact, javascript might be able to get this data (cant confirm) but javascript will only know what the dimensions are, after the page is loaded. you could get the data from javascript and use a header_redirect to give php that data. sorry I dont have a code snippit. -- Chris Lee lee@mediawaveonline.com ""DRN"" <donaldrnoble@NOSPAM.yahoo.com> wrote in message news:9dv0a8$4gd$1@toye.p.sourceforge.net... Hi, I was wondering if it would be possible to get the page height using php? The reason I would like to do this is so that I can include a link to the top of the page if the page is long enough, but not to display it for very short pages (where it would not be needed:) Cheers for your help, Donald ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Accessible Computers, competitive prices on all computer related items including Hardware, Software, Consumables and Custom Built PCs http://www.AccessibleComputers.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ personal website: http://www.donaldrnoble.f2s.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#53120) next »