[PHP] Long Live GOTO

2012-02-05 Thread Adam Richardson
Hi, While not purely focused on PHP, I toss this out to the group because I believe there are some novel, interesting points regarding the potential benefits of using the goto construct as implemented in PHP: http://adamjonrichardson.com/2012/02/06/long-live-the-goto-statement/ Adam -- Nephtal

Re: [PHP] Headers on smart phone browsers

2012-02-05 Thread Mari Masuda
On Feb 5, 2012, at 9:58 PM, Paul M Foster wrote: [snip] > 3) Bonus question: Is there a preferred method amongst coders to > determine what type of environment is being browsed from, so as to serve > up the proper type of page (desktop or smart phone version of a > webpage)? [snip] You should

[PHP] Headers on smart phone browsers

2012-02-05 Thread Paul M Foster
This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down versions of browsers? 2) When a browser broadcasts its header telling the server what kind

[PHP] Re: Typecasting question

2012-02-05 Thread Shawn McKenzie
On 02/03/2012 10:11 AM, jas wrote: > array('private_key_type' => OPENSSL_KEYTYPE_RSA, > 'encrypt_key_cipher' => OPENSSL_CIPHER_3DES); Look like ints to me: var_dump(): array(2) { ["private_key_type"]=> int(0) ["encrypt_key_cipher"]=> int(4) } -- Thanks! -Shawn http://www.spidea