[Xerte] Re: database.php

Dave Burnett d_b_burnett at hotmail.com
Sun Apr 29 17:50:48 BST 2012


"Having said all that, I'm about to commit a change to the code which will remove the foreach($params as &$value). But I'm also about to commit some other stuff which will definitely not be compatible with PHP4."
Glad we had that discussion.
Dave 
From: david at palepurple.co.uk
Date: Sun, 29 Apr 2012 17:48:47 +0100
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: database.php

PHP 4 was end-of-lifed back in 2008 (2008/08/08).

See http://developers.slashdot.org/story/07/07/14/0646216/php-4-end-of-life-announcement


I don't think it's unreasonable to no longer support PHP4. 

>From a work capacity I haven't come across anyone using PHP 4 for ~3 years.

If you're planning for the XOT site you are installing to be accessible to 'the world' then you are likely to have security problems if you're still using PHP4.
Having said all that, I'm about to commit a change to the code which will remove the foreach($params as &$value). But I'm also about to commit some other stuff which will definitely not be compatible with PHP4.

thanks,
David
On 29 Apr 2012, at 17:39, Dave Burnett wrote:Is there a dire necessity to force an upgrade to a php version that will accept pass by ref?Thought for most languages that was the default, you had to be explicit if you wanted an autonomous copy.

> Date: Sun, 29 Apr 2012 17:31:41 +0100
> From: patrick.lockley at googlemail.com
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Re: database.php
> 
> & is php speak for pass by reference, it isn't a typo
> 
> On Sun, Apr 29, 2012 at 5:23 PM, Dave Burnett <d_b_burnett at hotmail.com> wrote:
> >
> >
> > I'm still not clear.
> > So there is a &$ syntax or is it a typo?
> >
> > I hate asking ISP's or IT departments for upgrades.
> > The answer is usually no.
> >
> >
> >
> > ________________________________
> > From: david at palepurple.co.uk
> > Date: Sun, 29 Apr 2012 17:05:35 +0100
> > To: xerte at lists.nottingham.ac.uk
> > Subject: [Xerte] Re: database.php
> >
> >
> > On 29 Apr 2012, at 16:59, Dave Burnett wrote:
> >
> >
> > 4.4.9 according to phpversion()
> > So is it a typo or version/platform issue?
> >
> >
> > Crumbs. Yes. That version of PHP has been obsolete and unsupported for a few
> > years now. You should really use PHP 5.2+
> >
> > I suspect PHP 4 doesn't like something about my code (as I wrote the 'fake'
> > prepared statement stuff in Xerte).
> >
> >
> > I'll add some sort of version check into the setup wizard to stop anything
> > less than PHP 5 being used.
> >
> >
> > thanks,
> >
> > David.
> >
> > Pale Purple Ltd.  (Company No: 5580814)
> > 'Business Web Application Development and Training in PHP'
> >
> > http://www.palepurple.co.uk
> > Office: 0845 0046746     Mobile: 07792380669
> >
> > Follow us on Twitter: @PalePurpleLtd
> >
> >
> > This message and any attachment are intended solely for the addressee and
> > may contain confidential information. If you have received this message in
> > error, please send it back to me, and immediately delete it. Please do not
> > use, copy or disclose the information contained in this message or in any
> > attachment. Any views or opinions expressed by the author of this email do
> > not necessarily reflect the views of the University of Nottingham.
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
> >
> > _______________________________________________ Xerte mailing list
> > Xerte at lists.nottingham.ac.uk
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
> > attachment are intended solely for the addressee and may contain
> > confidential information. If you have received this message in error, please
> > send it back to me, and immediately delete it. Please do not use, copy or
> > disclose the information contained in this message or in any attachment. Any
> > views or opinions expressed by the author of this email do not necessarily
> > reflect the views of the University of Nottingham. This message has been
> > checked for viruses but the contents of an attachment may still contain
> > software viruses which could damage your computer system: you are advised to
> > perform your own checks. Email communications with the University of
> > Nottingham may be monitored as permitted by UK legislation.
> >
> > _______________________________________________
> > Xerte mailing list
> > Xerte at lists.nottingham.ac.uk
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> >
> > This message and any attachment are intended solely for the addressee and
> > may contain confidential information. If you have received this message in
> > error, please send it back to me, and immediately delete it.   Please do not
> > use, copy or disclose the information contained in this message or in any
> > attachment.  Any views or opinions expressed by the author of this email do
> > not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
> >
> >
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation._______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Pale Purple Ltd.  (Company No: 5580814)'Business Web Application Development and Training in PHP'
http://www.palepurple.co.uk   Office: 0845 0046746     Mobile: 07792380669 
Follow us on Twitter: @PalePurpleLtd



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120429/ce4a9d33/attachment-0001.html>


More information about the Xerte mailing list