Re: Accessing the 'media' attribute in php

From: Date: Wed, 03 Dec 2008 02:28:17 +0000
Subject: Re: Accessing the 'media' attribute in php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-284029@lists.php.net to get a copy of this message
You can do things on the client side with Javascript ;) Sorry, what was the result you are after? On Wed, Dec 3, 2008 at 3:22 PM, Clancy <clancy_1@cybec.com.au> wrote: > Oh? > > Unfortunately I have had great difficulty trying to find out how > things really work, as all the books I have seen are recipe books, > which tell you how to achieve particular results, but not what is > going on behind the scenes. I had assumed that when you hit the > 'print' button the browser sent a new request to the server, with a > different set of parameters, but I gather from your reply that the > browser issues the new (printer) page without reference to the server. > Is this what actually happens? > > If so I fear I will have to work out how to achieve the results I want > with CSS styles. It would have been far simpler if I could have done > it in php. > > Thank you for your help. > > On Wed, 3 Dec 2008 14:34:20 +1300, geek.de@gmail.com ("German Geek") > wrote: > > >PHP is a server side language... > > > >On Wed, Dec 3, 2008 at 2:16 PM, Clancy <clancy_1@cybec.com.au> wrote: > > > >> Is it possible to access the 'media' attribute from php, so (for > >> example) you can tailor a page for printing? > >> > >> > >> -- > >> PHP General Mailing List (http://www.php.net/) > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Tim-Hinnerk Heuer http://www.ihostnz.com -- Web Design, Hosting and free Linux Support

« previous php.general (#284029) next »