CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Barak Ravids conversion script fnames

Print topic Send  topic

Author Message
DonWolli


Posts: 81
Posted: 03/08/2019, 3:05 AM Quote message

Did someone already test this script?

It converts CCS PHP files to valid PHP 7.2
You may download the script here.

https://www.facebook.com/groups/codecharge/
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
DonWolli


Posts: 81
Posted: 03/08/2019, 3:06 AM Quote message

**deleted**
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
ccsminer

Posts: 105
Posted: 03/08/2019, 9:30 PM Quote message

Thankyou for sharing!

There is this caviat to be aware of:
>It assumes you haven't touched the CodeCharge library files such as Classes.php etc - which can always be regenerated >from scratch.
View profile  Send private message
DonWolli
Posted: 04/02/2019, 12:18 AM Quote message


_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
---------------------------------------
Sent from YesSoftware forum
http://forums.yessoftware.com/
DonWolli


Posts: 81
Posted: 04/02/2019, 12:21 AM Quote message

I tried it out with the Intranet examples, it worked absolutely fine.

Now I'm working at a big (old) 4.1 project converted to 5.1.
Conversion worked well, additionally i make use of the mysql2i class which converts mysql_ statements to proper mysqli.

The only problem which remains now is preg_replace, which must be replaced by preg_replace_callback ...
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
DonWolli
Posted: 04/02/2019, 12:22 AM Quote message


_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
---------------------------------------
Sent from YesSoftware forum
http://forums.yessoftware.com/
ccsminer

Posts: 105
Posted: 04/10/2019, 10:53 PM Quote message

What specific version of PHP are you using when running the conversion script?

Quote DonWolli:
I tried it out with the Intranet examples, it worked absolutely fine.

Now I'm working at a big (old) 4.1 project converted to 5.1.
Conversion worked well, additionally i make use of the mysql2i class which converts mysql_ statements to proper mysqli.

The only problem which remains now is preg_replace, which must be replaced by preg_replace_callback ...
View profile  Send private message
DonWolli


Posts: 81
Posted: 04/11/2019, 12:31 AM Quote message

I used PHP 7.2.11.
There are also some other nesseray changes which we integrated into another script, some of them specific to our project.
In db_mysql we inserted a script called mysql2i.php, which translates mysql_ call to mysqli_ calls. This was nessasarey because CCS 5 did not convert these calls when converting the project from CCS 4.1/3.
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
DonWolli


Posts: 81
Posted: 05/16/2019, 12:05 AM Quote message

Nobody interested anymore in converting CCS Projects to PHP 7.2 ?
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
saseow

Posts: 727
Posted: 05/17/2019, 9:04 PM Quote message

I have sent you a PM.
View profile  Send private message

Add new topic Reply to topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.