PDA

View Full Version : PHP2 to PHP3 converter


pdstein
05-11-1999, 09:24 AM
I read on the php.net website that there is a utility that comes with PHP3 that converts PHP2 scripts to PHP3.[nbsp][nbsp]Does someone know where I can find this and how I can use it?[nbsp][nbsp]does FQ have it installed by chance?

Thanks,
Paul

Terra
05-11-1999, 07:50 PM
I've just compiled it for the SIX server...

Please specify the full path name when running it:
/usr/local/bin/convertor

Bear in mind, that this program is not foolproof, but should give you enough of a conversion to work with...

--
Terra
--Another day in the life--
FutureQuest

pdstein
05-12-1999, 09:59 AM
Thanks Terra for setting that up![nbsp][nbsp]I don't expect it to catch everything, but if it cuts the work in half I'd be very happy.

Can you clarify how to use the converter program?[nbsp][nbsp]Is it just /usr/local/bin/convertor scriptFile.php where scriptFile.php is a PHP2 file which is converted to PHP3 or is there a way to specify an input and output file?

Thanks again,
Paul

Terra
05-12-1999, 10:51 AM
www.FutureQuest.net/docs/PHP_Convertor/README (http://www.FutureQuest.net/docs/PHP_Convertor/README)

--
Terra
--Enigma, wow - what can you say other than smooth as silk--
FutureQuest