[PHP] output buffering / output compression
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 as I thought it might speed things up by using a bigger buffer etc. but the only difference I noticed is a big jump in memory usage. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Hidden Images.
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 Explorer (and Mozilla too, though the grid is reversed) it puts a grid over the image. If you put another image in between what the grid covers, you can kind of hide the image that then is exposed when highlighted in Internet Explorer. You can check out a kinda of crappy first experiment at: -- Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: image size?
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
Re: [PHP] Re: image size?
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 maybe 24bit for imagecreatetruecolor ? Does anyone else know about this for certain ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: htmlentities()
Anthony Ritter wrote: ?php $str = A 'quote' is bbold/b; echo htmlentities($str); ? .. // outputs: A 'quote' is bbold/b 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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: POST superglobal is empty
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.php