[PHP] output buffering / output compression

2005-06-09 Thread Paul Birnstihl
I have recently set up a machine with PHP with both buffering and compression turned on. Some of the pages being served include up to 3MB of HTML. Can someone explain the benefit(s) of setting these ini directives to values (ie. larger than 4kb) rather than "On" ? I've played around with it

[PHP] Re: Hidden Images.

2005-01-20 Thread Paul Birnstihl
If you have a 2bit GIF with only white and transparent and you place it on a white page (background), you can hide it until it's highlit. Not very pretty but it works. Rob Adams wrote: I've been figuring out how to create hidden images. The concept is: when you highlight an image in Internet E

Re: [PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
Ed Lazor wrote: -Original Message- Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? I'm guessing it would be xsize x ysize x colour depth = size in bits ? What's the default color depth? -Ed It looks to me like it's 8bit for imagecreate and

[PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? I'm guessing it would be xsize x ysize x colour depth = size in bits ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: htmlentities()

2004-09-08 Thread Paul Birnstihl
Anthony Ritter wrote: bold"; echo htmlentities($str); ?> .. // outputs: A 'quote' is bold Not sure why the I am still getting the tags and spaces after the call to htmlentities(). Check out the source code of the output. Maybe you want the strip_tags() function ? -- PHP General Mailin

[PHP] Re: POST superglobal is empty

2004-08-04 Thread Paul Birnstihl
Might be a dumb idea but have you tried putting method="POST" instead of method="post" ? Andy Loftus wrote: Does anyone have any ideas as to why $_POST would be empty when submitting a form to php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub