Re: [PHP] PHP fails to install on Ubuntu 12.10. What's going on?

2013-02-14 Thread John Iliffe
On Thursday 14 February 2013 14:20:06 Chris Bergstresser wrote: > Hi all -- > >I've got a cloud server on Rackspace. If I bring up a fresh Ubuntu > 12.10 machine image, and type "apt-get install php5" it seems to > install fine. But if I then type "php -version" I get "PHP Parse > error: sy

[PHP] Expansion of Apache definitions

2013-01-10 Thread John Iliffe
I recently made a posting on the Apache users group regarding recovering the client IP address using the $_SESSION['REMOTE_ADDR'] function in PHP. I received the following caveat from another developer: -start quote You may want to update that. Since 2.4, apache

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread John Iliffe
On Thursday 03 January 2013 11:33:22 Marc Guay wrote: > > First, did the original poster realize that he was assigning a value > > to the variable $a in the 'if' statement? > > Hello, > > Yes, I did, and if you read my responses you can see that I came to > the realisations you describe. I don't

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread John Iliffe
On Thursday 03 January 2013 10:26:39 Jim Giner wrote: > On 1/2/2013 2:02 PM, Marc Guay wrote: > > Something else that's happening with this, which makes it a Bad Idea > > (tm) is that when the operator is "or", as it is in my real life > > scenerio, the 2nd variable occasionally doesn't get populat