It is currently Thu Dec 13, 2018 7:07 pm




Post new topic Reply to topic  [ 2 posts ] 
Regarding PHP5 
Author Message

Joined: Sun Oct 07, 2007 10:53 am
Posts: 11
Post Regarding PHP5
I noticed pretty quick due to PHP warnings that you are still using split(), eregi() and the other deprecated PHP functions that use regular expressions in qs_functions.php. It might be a good idea to go through and update all those before the final release since PHP6 is on the horizon and may do away with them altogether.

Also, in the qs_functions.php there is a line (471) that triggers a "Call-time pass-by-reference has been deprecated" warning.

The line is

while($temp = odbc_fetch_into($res,&$idata)){

Changing the &$idata to $idata without the & should take care of that without any consequences that I can think of, although I am not really a PHP expert.

Richard


Fri Oct 30, 2009 11:08 am
Profile

Joined: Wed Oct 08, 2008 11:27 pm
Posts: 141
Location: UK
Post Re: Regarding PHP5
I also found this but yes it will need to be taken in to account but what it is the errors are for PHP 5.3+ and it is still not stable so should not be used in live use only testting so at this time it is not a must as you should still be using PHP 5.2+ as most good host's will still be using 5.2+ and will only upgraded to 5.3+ when it goes stable and that is not yet.

And as for PHP 6 that will not be stable for at lest 1 year from now I would be looking in to using CSS 3 more then thinking about PHP 6.

_________________
Thanks
Simon
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
dbQwikSite Developer Version: 5.4.0.4
cPanel Version: 11.24.4-S33268
WHM 11.24.2 - X 3.9
Apache version: 2.0.63
PHP version: 5.2.5
MySQL version: 5.0.51a-community
Operating system: Linux


Sun Nov 08, 2009 9:56 pm
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Copyright © 2004-2008 TheDevShop Ltd. All Rights Reserved