Re: [PHP] {} forms

2011-11-16 Thread Robert Cummings
On 11-11-16 09:27 AM, Richard Quadling wrote: On 16 November 2011 13:56, Tim Streater wrote: I'm looking at the source of a web sockets server and I see these various forms: "ws://{$host}{$path}" "HTTP/1.1 ${status}\r\n" Are these simply equivalent to: "ws://" . $host . $path "HTTP/1

Re: [PHP] Think I found a PHP bug

2011-11-16 Thread Geoff Shang
On Wed, 15 Nov 2011, Tim Streater wrote: I find I need to do this: date_default_timezone_set (@date_default_timezone_get ()); in all my scripts since 5.x.x to avoid rude messages. Apart from the fact that I've not seen the rude messages of which you speak, even though I expected to, this w

Re: [PHP] Think I found a PHP bug

2011-11-16 Thread Geoff Shang
On Tue, 15 Nov 2011, Jim Lucas wrote: Also, I recalled something from the early 5.1.0 version that was related to the introduction of the date_timezone_set() function. So, from there I searched Google for "php changelog" and found the changelog for php v5. Then I searched that document for 'da

Re: Re: [PHP] {} forms

2011-11-16 Thread Tim Streater
On 16 Nov 2011 at 14:27, Richard Quadling wrote: > If you want to embed $array[CONSTANT], then the {} is used. > > I use {} out of habit for non arrays. Not sure if there is an impact. > > http://docs.php.net/manual/en/language.types.string.php#example-71 > shows the use. > > Oh. I've fixed the

Re: [PHP] {} forms

2011-11-16 Thread Richard Quadling
On 16 November 2011 13:56, Tim Streater wrote: > I'm looking at the source of a web sockets server and I see these various > forms: > >  "ws://{$host}{$path}" >  "HTTP/1.1 ${status}\r\n" > > Are these simply equivalent to: > >  "ws://" . $host . $path >  "HTTP/1.1 " . $status . "\r\n"; > > and if

Re: RE: [PHP] Safari and PDF

2011-11-16 Thread Tommy Pham
On Wed, Nov 16, 2011 at 4:13 AM, HallMarc Websites wrote: > Seems strange that you are given a choice. My clients have been telling me > that they are told to get the latest Acrobat Reader by Safari. Which they > have done (again why allow a plugin that isn't supported get installed to > begin

[PHP] {} forms

2011-11-16 Thread Tim Streater
I'm looking at the source of a web sockets server and I see these various forms: "ws://{$host}{$path}" "HTTP/1.1 ${status}\r\n" Are these simply equivalent to: "ws://" . $host . $path "HTTP/1.1 " . $status . "\r\n"; and if so, is there any particular benefit to using that form? Or if no

Re: [PHP] Re: Sniping on the List

2011-11-16 Thread Ashley Sheridan
Now, if you have ANY idea who I am Does anyone know who this guy is, as he seems to have forgotten :p -- Thanks! -Shawn http://www.spidean.com Thanks, Ash http://www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: RE: RE: [PHP] Safari and PDF

2011-11-16 Thread Tim Streater
On 16 Nov 2011 at 12:13, HallMarc Websites wrote: > Seems strange that you are given a choice. My clients have been telling me > that they are told to get the latest Acrobat Reader by Safari. Which they have > done (again why allow a plugin that isn't supported get installed to begin > with) onl

RE: RE: [PHP] Safari and PDF

2011-11-16 Thread HallMarc Websites
> I have to say that I still really have no clue what you are talking about. Why > would anyone with OS X want Acrobat Reader, when there is a perfectly > good [1] application (note: application, not "feature") available that does > the > task just as well. And when the PDF shows up in Safari you

Re: RE: [PHP] Safari and PDF

2011-11-16 Thread Tim Streater
On 16 Nov 2011 at 00:43, HallMarc Websites wrote: > And in conclusion; sorry, I get uppity after a long day LOL. It's as I already > thought; the answer is NO. So here is what I will do for any of you looking > for an answer and stumbling across my slight rant, I will detect if it is > Safari 5.