[PHP] RE: if/elseif being treated as if/if

2010-09-28 Thread Neville Dempsey
On Tue, Mon Sep 27 06:48:43 2010, Ford, Mike wrote: > > -Original Message- > > From: tedd [mailto:tedd.sperl...@gmail.com] > > Sent: 25 September 2010 16:02 > > > > One can make the argument that the ELSE IF statement first surfaced > > circa 1977 in FORTRAN 77 and the CASE statement cam

Re: [PHP] SimpleXML/array duality (like particles & waves)

2010-09-28 Thread Nathan Nobbe
On Tue, Sep 28, 2010 at 5:06 PM, Brian Dunning wrote: > If you read down to the bottom of the post, the function I used is given. My apologies for the hasty response. well, if i had to guess, id say thats where the problem is. why cant you just iterate over the object w/ the built in functiona

Re: [PHP] SimpleXML/array duality (like particles & waves)

2010-09-28 Thread Brian Dunning
If you read down to the bottom of the post, the function I used is given. On Sep 28, 2010, at 3:47 PM, Nathan Nobbe wrote: > On Tue, Sep 28, 2010 at 4:29 PM, Brian Dunning wrote: > I am kind of jacked here. I have a SimpleXML object that's been converted to > an array. > > how was the SimpleX

Re: [PHP] SimpleXML/array duality (like particles & waves)

2010-09-28 Thread Nathan Nobbe
On Tue, Sep 28, 2010 at 4:29 PM, Brian Dunning wrote: > I am kind of jacked here. I have a SimpleXML object that's been converted > to an array. how was the SimpleXMLElement converted to an array? -nathan

[PHP] SimpleXML/array duality (like particles & waves)

2010-09-28 Thread Brian Dunning
I am kind of jacked here. I have a SimpleXML object that's been converted to an array. In one of the nodes, for no reason I can see, the array is populated differently if there is only one than if there are multiple s. If there is just one, my $order_item array looks like this: Array ( [or

Re: [PHP] Domain Controller Discovery in PHP

2010-09-28 Thread Robert Cummings
On 10-09-28 04:03 AM, Jason wrote: > Hi Rob, > > I've checked a couple of windows machines (which I admit I had assumed you were running php on) and the ENV variable "USERDNSDOMAIN" is definitely what you need. If your php is running on linux, you'll need to find out the target windows domain s

Re: [PHP] Php Newsletter script

2010-09-28 Thread Richard Quadling
On 28 September 2010 11:29, a...@ashleysheridan.co.uk wrote: > Still hit and miss though, outlook is just one if many email clients out > there. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > - Reply message - > From: "Richard Quadling" > Date: Tue, Sep 28, 2010 10:17 > Subject:

Re: [PHP] Php Newsletter script

2010-09-28 Thread a...@ashleysheridan.co.uk
Still hit and miss though, outlook is just one if many email clients out there. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Richard Quadling" Date: Tue, Sep 28, 2010 10:17 Subject: [PHP] Php Newsletter script To: "a...@ashleysheridan.co.uk" Cc: "David Mehler" ,

[PHP] ssh2_exec line width problem

2010-09-28 Thread Radek Krejča
Hi, I need to get about 500 chars over ssh2_exec, but this doesnt work: $stream = ssh2_Exec($this->_connection, "system identity print;ip address print detail;system routerboard print;interface wireless print", false, NULL, 500); Where could be a problem? Its connection to Mikrotik. php5-5.3.3_

[PHP] ssh2_exec line width problem

2010-09-28 Thread Radek Krejča
Hi, I need to get about 500 chars over ssh2_exec, but this doesnt work: $stream = ssh2_Exec($this->_connection, "system identity print;ip address print detail;system routerboard print;interface wireless print", false, NULL, 500); Where could be a problem? Its connection to Mikrotik. php5-5.3.3_

Re: [PHP] Php Newsletter script

2010-09-28 Thread Richard Quadling
On 27 September 2010 23:40, a...@ashleysheridan.co.uk wrote: > It's probably worth noting that very few email clients in use actually > observe xhtml. When creating html emails you have to step back a half dozen > years for outlook, which is the current dominant client because of offices. > > Es

[PHP] php - mysql tandem and multi core performance

2010-09-28 Thread Giulio Mastrosanti
Hi all, I have to setup a new dedicated server for my job, it will need to host some mysql databases with php accessing them, for a number of reasons it need to be a Windows server ( 2008 ) the amount of data will not be very great ( the biggest table will contain between 100.000 and 200.000 rows

RE: [PHP] Domain Controller Discovery in PHP

2010-09-28 Thread Jason
-Original Message- From: Robert Cummings [mailto:rob...@interjinn.com] Sent: 27 September 2010 19:38 To: Jason Cc: 'PHP General' Subject: Re: [PHP] Domain Controller Discovery in PHP On 10-09-27 11:26 AM, Jason wrote: > Hi Rob, > > I believe you should be able to do this with nothing more