<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
"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."<div><br></div><div><span style="font-size: 10pt; ">Glad we had that discussion.</span></div><div><br></div><div>Dave</div><div><span style="font-size: 10pt; "> </span></div><div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: david@palepurple.co.uk<br>Date: Sun, 29 Apr 2012 17:48:47 +0100<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: database.php<br><br><div>PHP 4 was end-of-lifed back in 2008 (2008/08/08).</div><div><br></div><div><br></div><div>See <a href="http://developers.slashdot.org/story/07/07/14/0646216/php-4-end-of-life-announcement" target="_blank">http://developers.slashdot.org/story/07/07/14/0646216/php-4-end-of-life-announcement</a></div><div><br></div><div><br></div><div><br></div><div>I don't think it's unreasonable to no longer support PHP4. </div><div><br></div><div><br></div><div>From a work capacity I haven't come across anyone using PHP 4 for ~3 years.</div><div><br></div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div><br></div><div>thanks,</div><div><br></div><div>David</div><div><br><div><div>On 29 Apr 2012, at 17:39, Dave Burnett wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="font-family:Tahoma;font-size:13px"><div dir="ltr"><div><br class="ecxApple-interchange-newline">Is there a dire necessity to force an upgrade to a php version that will accept pass by ref?</div><div>Thought for most languages that was the default, you had to be explicit if you wanted an autonomous copy.</div><div><br></div><div><br></div><div><div id="ecxSkyDrivePlaceholder"></div>> Date: Sun, 29 Apr 2012 17:31:41 +0100<br>> From:<span class="ecxApple-converted-space"> </span><a href="mailto:patrick.lockley@googlemail.com">patrick.lockley@googlemail.com</a><br>> To:<span class="ecxApple-converted-space"> </span><a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>> Subject: [Xerte] Re: database.php<br>><span class="ecxApple-converted-space"> </span><br>> & is php speak for pass by reference, it isn't a typo<br>><span class="ecxApple-converted-space"> </span><br>> On Sun, Apr 29, 2012 at 5:23 PM, Dave Burnett <<a href="mailto:d_b_burnett@hotmail.com">d_b_burnett@hotmail.com</a>> wrote:<br>> ><br>> ><br>> > I'm still not clear.<br>> > So there is a &$ syntax or is it a typo?<br>> ><br>> > I hate asking ISP's or IT departments for upgrades.<br>> > The answer is usually no.<br>> ><br>> ><br>> ><br>> > ________________________________<br>> > From:<span class="ecxApple-converted-space"> </span><a href="mailto:david@palepurple.co.uk">david@palepurple.co.uk</a><br>> > Date: Sun, 29 Apr 2012 17:05:35 +0100<br>> > To:<span class="ecxApple-converted-space"> </span><a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>> > Subject: [Xerte] Re: database.php<br>> ><br>> ><br>> > On 29 Apr 2012, at 16:59, Dave Burnett wrote:<br>> ><br>> ><br>> > 4.4.9 according to phpversion()<br>> > So is it a typo or version/platform issue?<br>> ><br>> ><br>> > Crumbs. Yes. That version of PHP has been obsolete and unsupported for a few<br>> > years now. You should really use PHP 5.2+<br>> ><br>> > I suspect PHP 4 doesn't like something about my code (as I wrote the 'fake'<br>> > prepared statement stuff in Xerte).<br>> ><br>> ><br>> > I'll add some sort of version check into the setup wizard to stop anything<br>> > less than PHP 5 being used.<br>> ><br>> ><br>> > thanks,<br>> ><br>> > David.<br>> ><br>> > Pale Purple Ltd.  (Company No: 5580814)<br>> > 'Business Web Application Development and Training in PHP'<br>> ><br>> ><span class="ecxApple-converted-space"> </span><a href="http://www.palepurple.co.uk/" target="_blank">http://www.palepurple.co.uk</a><br>> > Office: 0845 0046746     Mobile: 07792380669<br>> ><br>> > Follow us on Twitter: @PalePurpleLtd<br>> ><br>> ><br>> > This message and any attachment are intended solely for the addressee and<br>> > may contain confidential information. If you have received this message in<br>> > error, please send it back to me, and immediately delete it. Please do not<br>> > use, copy or disclose the information contained in this message or in any<br>> > attachment. Any views or opinions expressed by the author of this email do<br>> > not necessarily reflect the views of the University of Nottingham.<br>> > This message has been checked for viruses but the contents of an attachment<br>> > may still contain software viruses which could damage your computer system:<br>> > you are advised to perform your own checks. Email communications with the<br>> > University of Nottingham may be monitored as permitted by UK legislation.<br>> ><br>> > _______________________________________________ Xerte mailing list<br>> ><span class="ecxApple-converted-space"> </span><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> ><span class="ecxApple-converted-space"> </span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><span class="ecxApple-converted-space"> </span>This message and any<br>> > attachment are intended solely for the addressee and may contain<br>> > confidential information. If you have received this message in error, please<br>> > send it back to me, and immediately delete it. Please do not use, copy or<br>> > disclose the information contained in this message or in any attachment. Any<br>> > views or opinions expressed by the author of this email do not necessarily<br>> > reflect the views of the University of Nottingham. This message has been<br>> > checked for viruses but the contents of an attachment may still contain<br>> > software viruses which could damage your computer system: you are advised to<br>> > perform your own checks. Email communications with the University of<br>> > Nottingham may be monitored as permitted by UK legislation.<br>> ><br>> > _______________________________________________<br>> > Xerte mailing list<br>> ><span class="ecxApple-converted-space"> </span><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>> ><span class="ecxApple-converted-space"> </span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>> ><br>> > This message and any attachment are intended solely for the addressee and<br>> > may contain confidential information. If you have received this message in<br>> > error, please send it back to me, and immediately delete it.   Please do not<br>> > use, copy or disclose the information contained in this message or in any<br>> > attachment.  Any views or opinions expressed by the author of this email do<br>> > not necessarily reflect the views of the University of Nottingham.<br>> ><br>> > This message has been checked for viruses but the contents of an attachment<br>> > may still contain software viruses which could damage your computer system:<br>> > you are advised to perform your own checks. Email communications with the<br>> > University of Nottingham may be monitored as permitted by UK legislation.<br>> ><br>> ><br>><span class="ecxApple-converted-space"> </span><br>> _______________________________________________<br>> Xerte mailing list<br>><span class="ecxApple-converted-space"> </span><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>><span class="ecxApple-converted-space"> </span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br></div></div><br><div style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">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.</div><div style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">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.</div>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br>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.<br><br>This message has been checked for viruses but the contents of an attachment<br>may still contain software viruses which could damage your computer system:<br>you are advised to perform your own checks. Email communications with the<br>University of Nottingham may be monitored as permitted by UK legislation.<br><br></span></blockquote></div><br><div>
<span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word"><span class="ecxApple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word"><div>Pale Purple Ltd.  (Company No: 5580814)</div><div>'Business Web Application Development and Training in PHP'</div><div><br></div><div><a href="http://www.palepurple.co.uk" target="_blank">http://www.palepurple.co.uk</a>   </div><div>Office: 0845 0046746     Mobile: 07792380669 </div><div><br></div><div>Follow us on Twitter: @PalePurpleLtd</div></div></span></div></span></div></span></span>
</div>
<br></div><br>_______________________________________________
Xerte mailing list
Xerte@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.</div></div>                                         </div></body>
</html>